Yocto — Change/set root password

 

inherit extrausers
EXTRA_USERS_PARAMS = "usermod -P hello root;"
– This sets the root password to "hello".
– These lines can be added into your core-image-base.bbappend file.

Yocto — GNU_HASH

Yocto build was showing a warning of "QA Issue: No GNU_HASH in the elf binary".
– The fix was to make sure that linker command line used by the respective application is using parameters used by Yocto build system.
– Just for information $(LDFLAGS) used by Yocto is having -Wl,–hash-style=gnu.
Ref: For inside of GNU_HASH: https://blogs.oracle.com/ali/entry/gnu_hash_elf_sections

view raw
GNU_HASH
hosted with ❤ by GitHub