# HG changeset patch # User Pascal Bellard # Date 1569006935 -7200 # Node ID bd7b94f2c7d0dde9be4db343fe740fb191bbab52 # Parent 7efc883185795e0fffca54172149165786c7a8b5 No hard coded boot menu diff -r 7efc88318579 -r bd7b94f2c7d0 ipxe/receipt --- a/ipxe/receipt Thu Sep 19 20:20:35 2019 +0200 +++ b/ipxe/receipt Fri Sep 20 21:15:35 2019 +0200 @@ -17,3 +17,10 @@ mkdir -p $fs/boot cp $SOURCES_REPOSITORY/$TARBALL $fs/boot/$PACKAGE } + +# Post install/remove commands for Tazpkg. +post_install() +{ + grep -qs ^ipxe $1/boot/bootmenu || + echo "ipxe IPXE,web,zeb,pxe SliTaz web boot" >> $1/boot/bootmenu +} diff -r 7efc88318579 -r bd7b94f2c7d0 linux/receipt --- a/linux/receipt Thu Sep 19 20:20:35 2019 +0200 +++ b/linux/receipt Fri Sep 20 21:15:35 2019 +0200 @@ -20,7 +20,7 @@ INSTALL_DEPENDS="lz4 grep" case "$TARGET" in - i486) SUGGESTED="memtest ipxe";; # bundle may install a boot menu + i486) SUGGESTED="memtest ipxe plop";; # bundle may install a boot menu esac S2bin() diff -r 7efc88318579 -r bd7b94f2c7d0 memtest/receipt --- a/memtest/receipt Thu Sep 19 20:20:35 2019 +0200 +++ b/memtest/receipt Fri Sep 20 21:15:35 2019 +0200 @@ -17,3 +17,10 @@ mkdir -p $fs/boot cp $SOURCES_REPOSITORY/$TARBALL $fs/boot/$PACKAGE } + +# Post install/remove commands for Tazpkg. +post_install() +{ + grep -qs ^memtest $1/boot/bootmenu || + echo "memtest Memtest,test,mem Check memory" >> $1/boot/bootmenu +} diff -r 7efc88318579 -r bd7b94f2c7d0 plop/receipt --- a/plop/receipt Thu Sep 19 20:20:35 2019 +0200 +++ b/plop/receipt Fri Sep 20 21:15:35 2019 +0200 @@ -16,6 +16,15 @@ # Rules to configure and make the package. compile_rules() { + while read ofs data name; do + echo -en "\x$data" | \ + dd conv=notrunc of=plpbt.bin bs=1 seek=$((0x$ofs)) + done <> $1/boot/bootmenu +}