Add leading 0 on chmod
This commit is contained in:
@@ -126,7 +126,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -126,7 +126,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -293,7 +293,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -447,12 +447,12 @@ cd "${basedir}"
|
||||
# Unused currently, but this script is a part of using the usb as an ethernet
|
||||
# device
|
||||
wget -c https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-g-ether-load.sh -O ${work_dir}/root/beaglebone-black-g-ether-load.sh
|
||||
chmod 755 ${work_dir}/root/beaglebone-black-g-ether-load.sh
|
||||
chmod 0755 ${work_dir}/root/beaglebone-black-g-ether-load.sh
|
||||
|
||||
# rpi-wiggle
|
||||
mkdir -p ${work_dir}/root/scripts
|
||||
wget https://raw.github.com/steev/rpiwiggle/master/rpi-wiggle -O ${work_dir}/root/scripts/rpi-wiggle.sh
|
||||
chmod 755 ${work_dir}/root/scripts/rpi-wiggle.sh
|
||||
chmod 0755 ${work_dir}/root/scripts/rpi-wiggle.sh
|
||||
|
||||
# Calculate the space to create the image
|
||||
root_size=$(du -s -B1 ${work_dir} --exclude=${work_dir}/boot | cut -f1)
|
||||
@@ -539,10 +539,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -4,9 +4,9 @@ SUBSYSTEM=="spidev", GROUP="spi", MODE="0660"
|
||||
SUBSYSTEM=="bcm2835-gpiomem", GROUP="gpio", MODE="0660"
|
||||
|
||||
SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\
|
||||
chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio;\
|
||||
chown -R root:gpio /sys/devices/virtual/gpio && chmod -R 770 /sys/devices/virtual/gpio;\
|
||||
chown -R root:gpio /sys$devpath && chmod -R 770 /sys$devpath\
|
||||
chown -R root:gpio /sys/class/gpio && chmod -R 0770 /sys/class/gpio;\
|
||||
chown -R root:gpio /sys/devices/virtual/gpio && chmod -R 0770 /sys/devices/virtual/gpio;\
|
||||
chown -R root:gpio /sys$devpath && chmod -R 0770 /sys$devpath\
|
||||
'"
|
||||
|
||||
KERNEL=="ttyAMA[01]", PROGRAM="/bin/sh -c '\
|
||||
|
||||
@@ -1677,7 +1677,7 @@ Please check your Internet connection and try again.
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
chmod 755 /usr/bin/hyperpixel-init
|
||||
chmod 0755 /usr/bin/hyperpixel-init
|
||||
if [ ! -f /etc/systemd/system/hyperpixel-init.service ]; then
|
||||
cat >> /etc/systemd/system/hyperpixel-init.service <<EOF
|
||||
[Unit]
|
||||
@@ -1710,7 +1710,7 @@ Please check your Internet connection and try again.
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
chmod 755 /usr/bin/hyperpixel-touch
|
||||
chmod 0755 /usr/bin/hyperpixel-touch
|
||||
if [ ! -f /etc/systemd/system/hyperpixel-touch.service ]; then
|
||||
cat >> /etc/systemd/system/hyperpixel-touch.service <<EOF
|
||||
[Unit]
|
||||
@@ -1835,7 +1835,7 @@ Please check your Internet connection and try again.
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
chmod 755 /usr/bin/hyperpixel4-init
|
||||
chmod 0755 /usr/bin/hyperpixel4-init
|
||||
if [ ! -f /etc/systemd/system/hyperpixel4-init.service ]; then
|
||||
cat >> /etc/systemd/system/hyperpixel4-init.service <<EOF
|
||||
[Unit]
|
||||
@@ -1865,7 +1865,7 @@ EOF
|
||||
modprobe ${MODALIAS} || modprobe "of:N${OF_NAME}T<NULL>C\${OF_COMPATIBLE_0}"
|
||||
EOF
|
||||
|
||||
chmod 755 /usr/lib/kalipi-sys-mods/i2cprobe
|
||||
chmod 0755 /usr/lib/kalipi-sys-mods/i2cprobe
|
||||
fi
|
||||
|
||||
if [ ! -f /lib/udev/rules.d/15-i2c-modprobe.rules ]; then
|
||||
|
||||
@@ -154,7 +154,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -277,7 +277,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -743,10 +743,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -154,7 +154,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -280,7 +280,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -649,10 +649,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -154,7 +154,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -273,7 +273,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -615,10 +615,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -282,7 +282,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -471,10 +471,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -282,7 +282,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -469,10 +469,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -288,7 +288,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -435,10 +435,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
8
cubox.sh
8
cubox.sh
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -282,7 +282,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -472,10 +472,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -119,7 +119,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
@@ -255,10 +255,10 @@ if [ $compress = xz ]; then
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
# limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -118,7 +118,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -287,7 +287,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -414,10 +414,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -119,7 +119,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
@@ -233,7 +233,7 @@ wget 'https://github.com/friendlyarm/sd-fuse_s5p6818/blob/master/prebuilt/fip-lo
|
||||
wget 'https://github.com/friendlyarm/sd-fuse_s5p6818/blob/master/prebuilt/fip-secure.img?raw=true' -O "${basedir}"/bootloader/fip-secure.img
|
||||
wget 'https://github.com/friendlyarm/sd-fuse_s5p6818/blob/master/prebuilt/fip-nonsecure.img?raw=true' -O "${basedir}"/bootloader/fip-nonsecure.img
|
||||
wget 'https://github.com/friendlyarm/sd-fuse_s5p6818/blob/master/tools/fw_printenv?raw=true' -O "${basedir}"/bootloader/fw_printenv
|
||||
chmod 755 "${basedir}"/bootloader/fw_printenv
|
||||
chmod 0755 "${basedir}"/bootloader/fw_printenv
|
||||
ln -s "${basedir}"/bootloader/fw_printenv "${basedir}"/bootloader/fw_setenv
|
||||
|
||||
dd if="${basedir}"/bootloader/bl1-mmcboot.bin of=${loopdevice} bs=512 seek=1
|
||||
|
||||
@@ -131,7 +131,7 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
EOF
|
||||
chmod 755 ${work_dir}/etc/init.d/brcm_patchram_plus
|
||||
chmod 0755 ${work_dir}/etc/init.d/brcm_patchram_plus
|
||||
|
||||
# Third stage
|
||||
cat <<EOF >"${work_dir}"/third-stage
|
||||
@@ -190,7 +190,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -131,7 +131,7 @@ case "$1" in
|
||||
;;
|
||||
esac
|
||||
EOF
|
||||
chmod 755 ${work_dir}/etc/init.d/brcm_patchram_plus
|
||||
chmod 0755 ${work_dir}/etc/init.d/brcm_patchram_plus
|
||||
|
||||
# Third stage
|
||||
cat <<EOF >"${work_dir}"/third-stage
|
||||
@@ -204,7 +204,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
10
nanopi2.sh
10
nanopi2.sh
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -291,7 +291,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -500,7 +500,7 @@ wget 'https://github.com/friendlyarm/sd-fuse_nanopi2/blob/96e1ba9603d237d0169485
|
||||
#wget https://raw.githubusercontent.com/friendlyarm/sd-fuse_nanopi2/master/prebuilt/bootloader.img # This is u-boot
|
||||
#wget https://raw.githubusercontent.com/friendlyarm/sd-fuse_nanopi2/master/prebuilt/loader-mmc.img
|
||||
wget https://raw.githubusercontent.com/friendlyarm/sd-fuse_nanopi2/master/tools/fw_printenv
|
||||
chmod 755 fw_printenv
|
||||
chmod 0755 fw_printenv
|
||||
ln -s fw_printenv fw_setenv
|
||||
|
||||
dd if=2ndboot.bin of=${loopdevice} bs=512 seek=1
|
||||
@@ -553,10 +553,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
10
odroid-c.sh
10
odroid-c.sh
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -286,7 +286,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -555,7 +555,7 @@ echo 7 > /sys/class/net/eth0/queues/tx-0/xps_cpus
|
||||
# Move IRQ's of ethernet to CPU1/2
|
||||
echo 1,2 > /proc/irq/40/smp_affinity_list
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/amlogic.sh
|
||||
chmod 0755 ${work_dir}/usr/bin/amlogic.sh
|
||||
|
||||
cat << EOF > ${work_dir}/etc/sysctl.d/99-c1-network.conf
|
||||
net.core.rmem_max = 26214400
|
||||
@@ -674,10 +674,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -131,7 +131,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
@@ -163,7 +163,7 @@ if [[ "$resolution" == "1366x768" ]]; then
|
||||
xrandr --output HDMI-1 --mode 1360x768_60.00
|
||||
fi
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/local/bin/xrandrscript.sh
|
||||
chmod 0755 ${work_dir}/usr/local/bin/xrandrscript.sh
|
||||
|
||||
mkdir -p ${work_dir}/usr/share/lightdm/lightdm.conf.d/
|
||||
cat << EOF > ${work_dir}/usr/share/lightdm/lightdm.conf.d/60-xrandrscript.conf
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -286,7 +286,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -517,10 +517,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -136,7 +136,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -128,7 +128,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -195,7 +195,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -155,7 +155,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -315,7 +315,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -484,10 +484,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -139,7 +139,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Configure Raspberry PI firmware
|
||||
|
||||
@@ -133,7 +133,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
#Configure RaspberryPi firmware (set config.txt to 64bit)
|
||||
|
||||
2
rpi.sh
2
rpi.sh
@@ -135,7 +135,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
#Configure RaspberryPi firmware (set config.txt to 64bit)
|
||||
|
||||
@@ -131,7 +131,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
#Configure RaspberryPi firmware (set config.txt to 64bit)
|
||||
|
||||
@@ -221,7 +221,7 @@ set -e
|
||||
dpkg-divert --add --local --divert /usr/sbin/invoke-rc.d.chroot --rename /usr/sbin/invoke-rc.d
|
||||
cp /bin/true /usr/sbin/invoke-rc.d
|
||||
echo -e "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d
|
||||
chmod 755 /usr/sbin/policy-rc.d
|
||||
chmod 0755 /usr/sbin/policy-rc.d
|
||||
|
||||
apt-get update
|
||||
apt-get --yes --allow-change-held-packages install locales-all
|
||||
@@ -333,7 +333,7 @@ dpkg-divert --remove --rename /usr/sbin/invoke-rc.d
|
||||
rm -f /third-stage
|
||||
EOF
|
||||
|
||||
chmod 755 ${basedir}/kali-${architecture}/third-stage
|
||||
chmod 0755 ${basedir}/kali-${architecture}/third-stage
|
||||
LANG=C systemd-nspawn -M ${machine} -D ${basedir}/kali-${architecture} /third-stage
|
||||
if [[ $? > 0 ]]; then
|
||||
echo "Third stage failed"
|
||||
@@ -497,7 +497,7 @@ EOF
|
||||
# rpi-wiggle
|
||||
mkdir -p ${work_dir}/root/scripts
|
||||
wget https://raw.github.com/steev/rpiwiggle/master/rpi-wiggle -O ${work_dir}/root/scripts/rpi-wiggle.sh
|
||||
chmod 755 ${work_dir}/root/scripts/rpi-wiggle.sh
|
||||
chmod 0755 ${work_dir}/root/scripts/rpi-wiggle.sh
|
||||
|
||||
# git clone of nexmon moved in front of kernel compilation, to have poper brcmfmac driver ready
|
||||
cd "${basedir}"/nexmon
|
||||
@@ -623,10 +623,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -170,7 +170,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -246,10 +246,10 @@ wget -O ${work_dir}/opt/Kali-Pi/Menus/RAS-AP/ras-ap.conf https://raw.githubuserc
|
||||
wget -O ${work_dir}/usr/local/bin/mon0up https://raw.githubusercontent.com/Re4son/RPi-Tweaks/master/pi-tail/mon0up
|
||||
wget -O ${work_dir}/usr/local/bin/mon0down https://raw.githubusercontent.com/Re4son/RPi-Tweaks/master/pi-tail/mon0down
|
||||
wget -O ${work_dir}/lib/systemd/system/vncserver@.service https://github.com/Re4son/vncservice/raw/master/vncserver@.service
|
||||
chmod 755 ${work_dir}/usr/local/bin/mon0up ${work_dir}/usr/local/bin/mon0down
|
||||
chmod 0755 ${work_dir}/usr/local/bin/mon0up ${work_dir}/usr/local/bin/mon0down
|
||||
mkdir ${work_dir}/etc/skel/.vnc
|
||||
wget -O ${work_dir}/etc/skel/.vnc/xstartup https://raw.githubusercontent.com/Re4son/RPi-Tweaks/master/vncservice/xstartup
|
||||
chmod 750 ${work_dir}/etc/skel/.vnc/xstartup
|
||||
chmod 0750 ${work_dir}/etc/skel/.vnc/xstartup
|
||||
|
||||
|
||||
cat << EOF > ${work_dir}/third-stage
|
||||
@@ -407,7 +407,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
## Fix the the infamous “Authentication Required to Create Managed Color Device” in vnc
|
||||
@@ -561,10 +561,10 @@ if [ "$compress" == "xz" ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
2
rpi0w.sh
2
rpi0w.sh
@@ -136,7 +136,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
#Configure RaspberryPi firmware (set config.txt to 64bit)
|
||||
|
||||
2
rpi1.sh
2
rpi1.sh
@@ -134,7 +134,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
#Configure RaspberryPi firmware (set config.txt to 64bit)
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -313,7 +313,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -455,10 +455,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -152,7 +152,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -281,7 +281,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -598,10 +598,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
@@ -161,7 +161,7 @@ dpkg-divert --remove --rename /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 "${work_dir}"/third-stage
|
||||
chmod 0755 "${work_dir}"/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Choose a locale
|
||||
|
||||
@@ -153,7 +153,7 @@ done
|
||||
export LD_PRELOAD
|
||||
exec "\$0-eatmydata" --force-unsafe-io "\$@"
|
||||
EOF
|
||||
chmod 755 ${work_dir}/usr/bin/dpkg
|
||||
chmod 0755 ${work_dir}/usr/bin/dpkg
|
||||
|
||||
# debootstrap second stage
|
||||
systemd-nspawn_exec eatmydata /debootstrap/debootstrap --second-stage
|
||||
@@ -283,7 +283,7 @@ rm -f /usr/bin/dpkg
|
||||
EOF
|
||||
|
||||
# Run third stage
|
||||
chmod 755 ${work_dir}/third-stage
|
||||
chmod 0755 ${work_dir}/third-stage
|
||||
systemd-nspawn_exec /third-stage
|
||||
|
||||
# Clean up eatmydata
|
||||
@@ -498,10 +498,10 @@ if [ $compress = xz ]; then
|
||||
echo "Compressing ${imagename}.img"
|
||||
[ $(nproc) \< 3 ] || cpu_cores=3 # cpu_cores = Number of cores to use
|
||||
limit_cpu pixz -p ${cpu_cores:-2} ${current_dir}/${imagename}.img # -p Nº cpu cores use
|
||||
chmod 644 ${current_dir}/${imagename}.img.xz
|
||||
chmod 0644 ${current_dir}/${imagename}.img.xz
|
||||
fi
|
||||
else
|
||||
chmod 644 ${current_dir}/${imagename}.img
|
||||
chmod 0644 ${current_dir}/${imagename}.img
|
||||
fi
|
||||
|
||||
# Clean up all the temporary build stuff and remove the directories
|
||||
|
||||
Reference in New Issue
Block a user