Remove more imported whitespaces.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
191746a476
commit
6143328e16
|
@ -272,7 +272,7 @@ fi
|
|||
|
||||
mkdir -p "${DESTDIR_DI}"
|
||||
|
||||
if [ "${LH_ARCHITECTURE}" = "sparc" ] && [ "${DI_IMAGE_TYPE}" = "netboot" ]
|
||||
if [ "${LH_ARCHITECTURE}" = "sparc" ] && [ "${DI_IMAGE_TYPE}" = "netboot" ]
|
||||
then
|
||||
# There are no prepared kernel/initrd pairs for sparc netboot so we
|
||||
# must unpack them from a mini.iso
|
||||
|
|
|
@ -186,8 +186,8 @@ Copy_syslinux_templates ()
|
|||
cp "${TEMPLATES}"/menu/*.cfg ${SCREEN_PATH}
|
||||
cp "${TEMPLATES}"/menu/data/* ${DATA_PATH}
|
||||
|
||||
# Grab menu binary from chroot
|
||||
MENUMODULE=$(grep 'menu.c32' ${TEMPLATES}/menu/header.cfg | sed 's|default\s*.*/\(.*menu.c32\)$|\1|g')
|
||||
# Grab menu binary from chroot
|
||||
MENUMODULE=$(grep 'menu.c32' ${TEMPLATES}/menu/header.cfg | sed 's|default\s*.*/\(.*menu.c32\)$|\1|g')
|
||||
cp chroot/usr/lib/syslinux/"${MENUMODULE}" ${DATA_PATH}
|
||||
fi
|
||||
|
||||
|
@ -236,9 +236,9 @@ Copy_syslinux_templates ()
|
|||
else
|
||||
if [ "${LH_SYSLINUX_MENU}" = "disabled" ]
|
||||
then
|
||||
SPLASH="${LIVE_DATA_PATH}/splash.rle"
|
||||
SPLASH="${LIVE_DATA_PATH}/splash.rle"
|
||||
else
|
||||
SPLASH="${LIVE_DATA_PATH}/splash.png"
|
||||
SPLASH="${LIVE_DATA_PATH}/splash.png"
|
||||
fi
|
||||
|
||||
if [ -n "${LH_SYSLINUX_SPLASH}" ]
|
||||
|
@ -293,7 +293,7 @@ Configure_syslinux_templates ()
|
|||
d
|
||||
}' ${SCREEN_PATH}/syslinux.cfg
|
||||
|
||||
# remove the files, which were included
|
||||
# remove the files, which were included
|
||||
if [ -e ${SCREEN_PATH}/${FILE_NAME} ]
|
||||
then
|
||||
rm -f ${SCREEN_PATH}/${FILE_NAME}
|
||||
|
|
|
@ -79,7 +79,7 @@ fi
|
|||
|
||||
if [ -n "${LH_BOOTSTRAP_KEYRING}" ]
|
||||
then
|
||||
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --keyring=${LH_BOOTSTRAP_KEYRING}"
|
||||
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --keyring=${LH_BOOTSTRAP_KEYRING}"
|
||||
fi
|
||||
|
||||
if [ -z "${LH_BOOTSTRAP_FLAVOUR}" ]
|
||||
|
|
|
@ -51,7 +51,7 @@ Check_lockfile .lock
|
|||
Create_lockfile .lock
|
||||
|
||||
# Copying host system
|
||||
find / ! -name /proc ! -name /sys ! -name "$(dirname ${PWD})" | xargs cp -a chroot
|
||||
find / ! -name /proc ! -name /sys ! -name "$(dirname ${PWD})" | xargs cp -a chroot
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile .stage/bootstrap
|
||||
|
|
|
@ -51,7 +51,7 @@ case "${1}" in
|
|||
fi
|
||||
|
||||
# Create policy-rc.d file
|
||||
cat > chroot/usr/sbin/policy-rc.d << EOF
|
||||
cat > chroot/usr/sbin/policy-rc.d << EOF
|
||||
#!/bin/sh
|
||||
|
||||
echo
|
||||
|
|
|
@ -74,7 +74,7 @@ do
|
|||
;;
|
||||
|
||||
--binary)
|
||||
${LH_ROOT_COMMAND} umount -f binary.tmp > /dev/null 2>&1 || true
|
||||
${LH_ROOT_COMMAND} umount -f binary.tmp > /dev/null 2>&1 || true
|
||||
rm -rf binary.tmp binary.deb binary.udeb
|
||||
rm -f binary.iso
|
||||
rm -f binary.img
|
||||
|
|
|
@ -94,7 +94,7 @@ rm -f chroot/root/dpkg-selection.txt
|
|||
# Sort sources
|
||||
for DSC in chroot/*.dsc
|
||||
do
|
||||
SOURCE="$(sed -n 's|^Source: ||p' ${DSC})"
|
||||
SOURCE="$(sed -n 's|^Source: ||p' ${DSC})"
|
||||
|
||||
case "${SOURCE}" in
|
||||
lib?*)
|
||||
|
|
|
@ -35,7 +35,7 @@ fi
|
|||
|
||||
if ! echo "${LH_SOURCE_IMAGES}" | grep -qs iso
|
||||
then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Echo_message "Begin building source iso image..."
|
||||
|
|
|
@ -35,7 +35,7 @@ fi
|
|||
|
||||
if ! echo "${LH_SOURCE_IMAGES}" | grep -qs net
|
||||
then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Echo_message "Begin building source netboot image..."
|
||||
|
|
|
@ -35,7 +35,7 @@ fi
|
|||
|
||||
if ! echo "${LH_SOURCE_IMAGES}" | grep -qs tar
|
||||
then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Echo_message "Begin building source tarball..."
|
||||
|
|
|
@ -35,7 +35,7 @@ fi
|
|||
|
||||
if ! echo "${LH_SOURCE_IMAGES}" | grep -qs usb-hdd
|
||||
then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Echo_message "Begin building source usb-hdd image..."
|
||||
|
|
Loading…
Reference in New Issue