+++ /dev/null
-#!/bin/bash
-# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/10-build-initramfs
-# Purpose: configure live-initramfs and build initramfs for booting
-# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
-# Bug-Reports: see http://grml.org/bugs/
-# License: This file is licensed under the GPL v2 or any later version.
-################################################################################
-
-set -u
-set -e
-
-fcopy -v /etc/initramfs-tools/hooks/000-udev-shutup
-fcopy -v /etc/initramfs-tools/conf.d/xz-compress
-
-if ! [ -f $target/usr/share/initramfs-tools/scripts/live ] ; then
- echo "Error: live-boot/-initramfs does not seem to be present, can not create initramfs. Exiting.">&2
- exit 1
-fi
-
-# The initramfs itself will be created through grml-live script itself.
-
-## END OF FILE #################################################################
-# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
#!/bin/sh
-# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/47-initramfs
-# Purpose: Rebuild initramfs in chroot
+# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/80-initramfs
+# Purpose: configure initramfs and rebuild it
# Authors: grml-team (grml.org)
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
set -u
set -e
+fcopy -v /etc/initramfs-tools/hooks/000-udev-shutup
+fcopy -v /etc/initramfs-tools/conf.d/xz-compress
+
+if ! [ -f $target/usr/share/initramfs-tools/scripts/live ] ; then
+ echo "Error: live-boot/-initramfs does not seem to be present, can not create initramfs. Exiting.">&2
+ exit 1
+fi
+
echo "Rebuilding initramfs"
for initrd in "$(basename $target/boot/vmlinuz-*)" ; do