-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sifive builds don't update from overlay directory #182
Comments
@dkohlbre Plz link commits and close the issue if it was resolved. Thanks! |
This is a new issue and is unresolved. |
Ok, this occurs when initramfs is enabled, and is entirely related to how Linux gets built. Buildroot copies files/etc correctly, the initramfs data doesn't see changes. |
As a temporary fix, you can delete the entire |
I was able to figure out, e9fde5d#diff-af3b638bc2a3e6c650974192a53c7291R196 This change makes |
Sysroot changes were not picked up by CMake because add_custom_command does not run the dependent target. We change it to depend on an actual file, instead of target "sysroot"
Closing |
If you build using cmake -DLINUX_SIFIVE=y, any future modifications to the overlay/ directory will not be picked up in the resulting image. (Note that a non-sifive build works fine)
e.g.
mkdir build; cd build
cmake ../
make
./scripts/run-qemu.sh check files in root, no file $foo
touch overlay/root/$foo
make
./scripts/run-qemu.sh check files in root, $foo found
vs
mkdir build; cd build
cmake ../ -DLINUX_SIFIVE=y
make
./scripts/run-qemu.sh check files in root, no file $foo
touch overlay/root/$foo
make
./scripts/run-qemu.sh check files in root, no $foo found
I suspect this is actually an issue with initramfs builds.
The text was updated successfully, but these errors were encountered: