grub: avoid mounting the read-only root filesystem
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
parent
6471c897f3
commit
5287c512fb
@ -6,6 +6,8 @@ do_install_append() {
|
||||
for file in ${D}${bindir}/grub2-* ${D}${sbindir}/grub2-*; do
|
||||
ln -sf $(basename ${file}) $(echo ${file}|sed 's/grub2/grub/')
|
||||
done
|
||||
|
||||
sed -i -e 's/ ro / rw /' ${D}${sysconfdir}/grub.d/10_linux
|
||||
}
|
||||
|
||||
FILES_${PN}-editenv = "${bindir}/grub2-editenv"
|
||||
|
Loading…
x
Reference in New Issue
Block a user