carbon-config

config submodule of carbon-core-system
git clone https://ccx.te2000.cz/git/carbon-config
Log | Files | Refs

commit a8ed5080371ec1c24cc75818bb00eb3ce3968ff0
parent f5d0dbf77e417dd02be04b6c5b91f80962e56d9d
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Tue, 26 Jul 2022 14:36:09 +0200

Add required syslinux/extlinux modules to /boot

Diffstat:
Mpostinstall.aat | 7+++++++
Mpostinstall.fileset | 15+++++++++++++++
Mpostinstall.rsfilter | 5+++++
3 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/postinstall.aat b/postinstall.aat @@ -81,6 +81,13 @@ CN # Managed by /usr/src/core-system LINUX vmlinuz-virt INITRD initramfs-virt APPEND root=/dev/mapper/vg-spark_root init=/previous/init/bin/init modules=sd-mod,usb-storage,ext4,xfs,lvm rootflags=noatime +|split("libutil.c32 libcom32.c32 mboot.c32 menu.c32 vesamenu.c32", extlinux_modules) +|for(n in extlinux_modules) { +| mod = extlinux_modules[n] +/boot/{{mod}} + +? cmp $fname '/usr/share/syslinux/{{mod}}' +! cp -va '/usr/share/syslinux/{{mod}}' $fname +|} /etc + /etc/group + diff --git a/postinstall.fileset b/postinstall.fileset @@ -19,6 +19,21 @@ CN # Managed by /usr/src/core-system LINUX vmlinuz-virt INITRD initramfs-virt APPEND root=/dev/mapper/vg-spark_root init=/previous/init/bin/init modules=sd-mod,usb-storage,ext4,xfs,lvm rootflags=noatime +/boot/libutil.c32 + +? cmp $fname '/usr/share/syslinux/libutil.c32' +! cp -va '/usr/share/syslinux/libutil.c32' $fname +/boot/libcom32.c32 + +? cmp $fname '/usr/share/syslinux/libcom32.c32' +! cp -va '/usr/share/syslinux/libcom32.c32' $fname +/boot/mboot.c32 + +? cmp $fname '/usr/share/syslinux/mboot.c32' +! cp -va '/usr/share/syslinux/mboot.c32' $fname +/boot/menu.c32 + +? cmp $fname '/usr/share/syslinux/menu.c32' +! cp -va '/usr/share/syslinux/menu.c32' $fname +/boot/vesamenu.c32 + +? cmp $fname '/usr/share/syslinux/vesamenu.c32' +! cp -va '/usr/share/syslinux/vesamenu.c32' $fname /etc + /etc/group + diff --git a/postinstall.rsfilter b/postinstall.rsfilter @@ -1,5 +1,10 @@ + /boot + /boot/extlinux.conf ++ /boot/libutil.c32 ++ /boot/libcom32.c32 ++ /boot/mboot.c32 ++ /boot/menu.c32 ++ /boot/vesamenu.c32 + /etc + /etc/group + /etc/passwd