Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -123,7 +123,6 @@ if [ -d "${src_dir}" ]; then
|
||||
|
||||
fi
|
||||
|
||||
|
||||
### Install Dropbear configuration ---------------------------------------------------------------------------------------------
|
||||
install -m 0444 /etc/dropbear/initramfs/dropbear.conf "${DESTDIR}/etc/dropbear/dropbear.conf"
|
||||
printf "\e[92mSuccessfully executed: [install -m 0444 /etc/dropbear/initramfs/dropbear.conf %s/etc/dropbear/dropbear.conf] \n\e[0m" "${DESTDIR}"
|
||||
@@ -146,6 +145,13 @@ printf "\e[92mSuccessfully executed: [install -m 0444 /etc/dropbear/initramfs/ba
|
||||
install -m 0444 /etc/banner "${DESTDIR}/etc/dropbear/banner"
|
||||
printf "\e[92mSuccessfully executed: [install -m 0444 /etc/dropbear/initramfs/banner %s/etc/dropbear/banner] \n\e[0m" "${DESTDIR}"
|
||||
|
||||
### Ensure live-boot runtime scripts in the initramfs are executable -----------------------------------------------------------
|
||||
if [ -d "${DESTDIR}/usr/lib/live/boot" ]; then
|
||||
|
||||
find "${DESTDIR}/usr/lib/live/boot" -type f -exec chmod +x -- {} +
|
||||
printf "\e[92mSuccessfully executed: [find %s/usr/lib/live/boot -type f -exec chmod +x -- {} +] \n\e[0m" "${DESTDIR}"
|
||||
|
||||
fi
|
||||
### EOS
|
||||
|
||||
printf "\e[92mSuccessfully executed: [/etc/initramfs-tools/hooks/9999_ciss_debian_live_builder.sh] \n\e[0m"
|
||||
|
||||
Reference in New Issue
Block a user