|
@@ -52,7 +52,7 @@ Usage: $PROGNAME [options] <rootfs>
|
|
Options:
|
|
Options:
|
|
-r <repo-url> Use this XBPS repository (may be specified multiple times).
|
|
-r <repo-url> Use this XBPS repository (may be specified multiple times).
|
|
-c <cachedir> Use this XBPS cache directory.
|
|
-c <cachedir> Use this XBPS cache directory.
|
|
- -i <lz4|gzip|bzip2|xz> Compression type for the initramfs image (lz4 if unset).
|
|
|
|
|
|
+ -i <lz4|gzip|bzip2|xz> Compression type for the initramfs image (xz if unset).
|
|
-o <file> Output file name for the netboot tarball (auto if unset).
|
|
-o <file> Output file name for the netboot tarball (auto if unset).
|
|
|
|
|
|
-k <keymap> Console keymap to set (us if unset)
|
|
-k <keymap> Console keymap to set (us if unset)
|
|
@@ -151,7 +151,7 @@ info_msg "Install kernel and additional required netboot packages"
|
|
# dracut-network provides the in-initrd network stack
|
|
# dracut-network provides the in-initrd network stack
|
|
# dialog is needed by the install environment
|
|
# dialog is needed by the install environment
|
|
# ${INITRAMFS_COMPRESSION} is the name of the compressor we want to use (lz4 by default)
|
|
# ${INITRAMFS_COMPRESSION} is the name of the compressor we want to use (lz4 by default)
|
|
-run_cmd_target "xbps-install $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -r $ROOTFS -Sy linux dracut syslinux binutils dracut-network dialog ${INITRAMFS_COMPRESSION-lz4}"
|
|
|
|
|
|
+run_cmd_target "xbps-install $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -r $ROOTFS -Sy linux dracut syslinux binutils dracut-network dialog ${INITRAMFS_COMPRESSION-xz}"
|
|
run_cmd_chroot "$ROOTFS" "xbps-reconfigure -a"
|
|
run_cmd_chroot "$ROOTFS" "xbps-reconfigure -a"
|
|
|
|
|
|
# Dracut needs to know the kernel version that will be using this
|
|
# Dracut needs to know the kernel version that will be using this
|
|
@@ -168,7 +168,7 @@ KERNELVERSION=$(ls "$ROOTFS/usr/lib/modules/")
|
|
info_msg "Building initrd for kernel version $KERNELVERSION"
|
|
info_msg "Building initrd for kernel version $KERNELVERSION"
|
|
run_cmd_chroot "$ROOTFS" "env -i /usr/bin/dracut \
|
|
run_cmd_chroot "$ROOTFS" "env -i /usr/bin/dracut \
|
|
-N \
|
|
-N \
|
|
- --${INITRAMFS_COMPRESSION-lz4} \
|
|
|
|
|
|
+ --${INITRAMFS_COMPRESSION-xz} \
|
|
--add-drivers ahci \
|
|
--add-drivers ahci \
|
|
--force-add 'autoinstaller netmenu' \
|
|
--force-add 'autoinstaller netmenu' \
|
|
--omit systemd \
|
|
--omit systemd \
|