Skip to content

Commit

Permalink
scripts,systems: more execution bit fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
hexdump0815 committed Aug 22, 2022
1 parent 6c3d85c commit e4d61f5
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/create-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -397,17 +397,19 @@ fi

if [ "${UEFI32}" = "true" ] || [ "${UEFI64}" = "true" ] || [ "${MBR}" = "true" ] || [ "${UEFI64ARM}" = "true" ]; then
# grub config script per system
if [ -x ${WORKDIR}/systems/${1}/grubconfig.sh ]; then
if [ -f ${WORKDIR}/systems/${1}/grubconfig.sh ]; then
cp ${WORKDIR}/systems/${1}/grubconfig.sh ${MOUNT_POINT}/grubconfig.sh
chmod a+x ${MOUNT_POINT}/grubconfig.sh
chroot ${MOUNT_POINT} /grubconfig.sh
rm -f ${MOUNT_POINT}/grubconfig.sh
fi
chroot ${MOUNT_POINT} update-grub
fi

# finalize script which is run chrooted per system
if [ -x ${WORKDIR}/systems/${1}/finalize-chroot.sh ]; then
if [ -f ${WORKDIR}/systems/${1}/finalize-chroot.sh ]; then
cp ${WORKDIR}/systems/${1}/finalize-chroot.sh ${MOUNT_POINT}/finalize-chroot.sh
chmod a+x ${MOUNT_POINT}/finalize-chroot.sh
chroot ${MOUNT_POINT} /finalize-chroot.sh ${1} ${2} ${3}
rm -f ${MOUNT_POINT}/finalize-chroot.sh
fi
Expand Down
Empty file modified systems/allwinner_h3/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/allwinner_h6/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/allwinner_h616/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/amlogic_gx/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/chromebook_gru/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/chromebook_kukui/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/chromebook_oak/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/chromebook_veyron/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/odroid_u3/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/orbsmart_s92_beelink_r89/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/raspberry_pi_3/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/raspberry_pi_4/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/rockchip_rk3288/postinstall-chroot.sh
100644 → 100755
Empty file.
Empty file modified systems/rockchip_rk33xx/postinstall-chroot.sh
100644 → 100755
Empty file.

0 comments on commit e4d61f5

Please sign in to comment.