File tree 3 files changed +4
-95
lines changed
3 files changed +4
-95
lines changed Original file line number Diff line number Diff line change 39
39
run : |
40
40
rm -rf /var/lib/apt/lists/*
41
41
sed -i 's/jammy/noble/g' /etc/apt/sources.list
42
- apt-get update && apt-get install --reinstall sudo debootstrap mtools dosfstools qemu-user-static binfmt-support dpkg-dev systemd-container -y
42
+ apt-get update && apt-get install --reinstall sudo debootstrap mtools dosfstools qemu-user-static binfmt-support dpkg-dev -y
43
43
ln -sfn /usr/share/debootstrap/scripts/gutsy /usr/share/debootstrap/scripts/noble
44
44
dpkg -i debs/live-build_*_all.deb
45
45
mv /usr/share/debootstrap/functions functions
49
49
if [[ "${{ matrix.type }}" == "tarball" ]]; then
50
50
cp binary_rootfs /usr/lib/live/build/binary_rootfs
51
51
fi
52
- cp lb_chroot_devpts /usr/lib/live/build/lb_chroot_devpts
53
52
54
53
- name : Make scripts executable
55
54
run : chmod -R +x build.sh etc/auto/config etc/terraform.conf etc/
Original file line number Diff line number Diff line change @@ -80,7 +80,10 @@ build () {
80
80
# LIVE-BUILD BUILD #
81
81
#------------------#
82
82
"
83
+ mkdir -p tmp/$BUILD_ARCH /chroot
84
+ mount --bind tmp/$BUILD_ARCH /chroot tmp/$BUILD_ARCH /chroot
83
85
lb --force build
86
+ umount tmp/$BUILD_ARCH /chroot
84
87
85
88
echo -e "
86
89
#---------------------------#
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments