meta-starlingx/meta-stx-integ/recipes-bsp/grub/grub_2.02.bbappend
Babak Sarashki 1d9e0b9cb0 grub2: grub install on target is the installers job
- Removing postinst on target

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-25 10:44:31 -07:00

14 lines
382 B
Plaintext

TRANSFORM_NAME = "s,grub,grub2,"
EXTRA_OECONF += "--program-transform-name=${TRANSFORM_NAME}"
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"