You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I have installed the 'grep - 2.26-1' package.
BusyBox has it's grep applet installed in /bin/grep, and the grep package removes this and installs the full version in /usr/bin/grep. For whatever reason /etc/preinit cannot find /usr/bin/grep despite the path being set and including /usr/bin.
Removing the 'grep - 2.26-1' package allows the system to revert back to BusyBox grep and /etc/preinit no longer reports an error.
The text was updated successfully, but these errors were encountered:
Hi Eric, Sorry for the late reply. I couldn't figure out how the issue happened, both last time I saw this and now.
If it's read-only rootfs and grep installed on writable overlay, then at preinit stage the busybox grep symlink should be still there.
If it's writable rootfs without overlay, then just like your analysis it should just work ... I just tried to reproduce this with x86_64-combined-ext4 image, but the issue did not appear.
Please provide more info about the device, images, rootfs, etc. Is it possible that the image was glibc based and opkg installed from another libc-based package?
eschoeller:
I receive this error during start-up:
/etc/preinit: line 1: grep: not found
After I have installed the 'grep - 2.26-1' package.
BusyBox has it's grep applet installed in /bin/grep, and the grep package removes this and installs the full version in /usr/bin/grep. For whatever reason /etc/preinit cannot find /usr/bin/grep despite the path being set and including /usr/bin.
Removing the 'grep - 2.26-1' package allows the system to revert back to BusyBox grep and /etc/preinit no longer reports an error.
The text was updated successfully, but these errors were encountered: