set -u
set -e
-fcopy /usr/share/initramfs-tools/scripts/init-top/grml
-fcopy /etc/initramfs-tools/hooks/000-udev-shutup
-fcopy /etc/initramfs-tools/conf.d/xz-compress
+fcopy -v /usr/share/initramfs-tools/scripts/init-top/grml
+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
cp $target/etc/runlevel.conf $target/etc/runlevel.conf.original
# provide Grml's default file-rc configuration
-fcopy /etc/runlevel.conf
+fcopy -v /etc/runlevel.conf
# provide Grml's inittab configuration
-fcopy /etc/inittab
+fcopy -v /etc/inittab
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
[ -n "$USERNAME" ] || USERNAME=grml
-fcopy /etc/sudoers
+fcopy -v /etc/sudoers
sed -i "s/\$USERNAME/$USERNAME/" $target/etc/sudoers
chmod 440 $target/etc/sudoers
# set up /etc/locale.gen, only GRML_FULL and LOCALES have
# the full setup, GRMLBASE installs a minimal configuration
-fcopy /etc/locale.gen
+fcopy -v /etc/locale.gen
# get rid of locales unless using class LOCALES
set +u
[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
[ -n "$USERNAME" ] || USERNAME=grml
-fcopy /etc/fstab
+fcopy -v /etc/fstab
sed -i "s/uid=USERNAME,gid=USERNAME/uid=$USERNAME,gid=$USERNAME/" $target/etc/fstab
## END OF FILE #################################################################
set -u
set -e
-fcopy /etc/motd
+fcopy -v /etc/motd
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
[ -n "$HOSTNAME" ] || HOSTNAME=grml
-fcopy /etc/hosts
+fcopy -v /etc/hosts
# replace $HOSTNAME with the real hostname:
sed -i "s/\$HOSTNAME/$HOSTNAME/" $target/etc/hosts
set -u
set -e
-fcopy /etc/network/interfaces
+fcopy -v /etc/network/interfaces
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
find $target/etc/modprobe.d -maxdepth 1 -type f ! -name \*\.conf -exec mv {} {}.conf \;
# Replace modprobe configuration files to workaround issues.
-fcopy /etc/modprobe.d/radeon-kms.conf
+fcopy -v /etc/modprobe.d/radeon-kms.conf
# Copy the loop options
-fcopy /etc/modprobe.d/loop-part.conf
+fcopy -v /etc/modprobe.d/loop-part.conf
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2
set -u
set -e
-fcopy /etc/modules
+fcopy -v /etc/modules
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2