Upload files to "/"

This commit is contained in:
2026-05-07 15:14:26 +00:00
parent d01f8aa5dc
commit 742b4abdf7
+9 -5
View File
@@ -1,11 +1,12 @@
#!/bin/bash #!/bin/bash
## 20260507-151208
clear clear
echo "INSTALLING/UPDATING..." echo "INSTALLING/UPDATING..."
sudo apt install -y live-build sudo apt install -y live-build
echo "=================" echo "================="
echo "LIVE-BUILD SCRIPT" echo "LIVE-BUILD SCRIPT"
echo " VER. 251203 "
echo "=================" echo "================="
echo "NAME:" echo "NAME:"
read name read name
@@ -21,22 +22,25 @@ mkdir lb; cd lb
mkdir $name; cd $name mkdir $name; cd $name
sudo lb clean --all && rm -rf config cache local sudo lb clean --all && rm -rf config cache local
#"--win32-loader" dropped with Debian 13 Trixie #"--win32-loader" dropped with Debian 13 Trixie
lb config --apt-recommends true --backports true --system live --memtest memtest86+ --debian-installer-gui true --debian-installer live --bootappend-live "boot=live components quiet splash hostname=$name toram" -d $release --mode debian --parent-distribution $release --parent-debian-installer-distribution $release --archive-areas "main contrib non-free non-free-firmware" --linux-packages "linux-image linux-headers" true --uefi-secure-boot auto --security true --updates true -b iso-hybrid --binary-filesystem ext4 --image-name $name --hdd-label $name --iso-application $name lb config --apt-recommends true --backports true --system live --memtest memtest86+ --debian-installer-gui true --debian-installer live --bootappend-live "boot=live components quiet hostname=$name toram" -d $release --mode debian --parent-distribution $release --parent-debian-installer-distribution $release --archive-areas "main contrib non-free non-free-firmware" --linux-packages "linux-image linux-headers" true --uefi-secure-boot auto --security true --updates true -b iso-hybrid --binary-filesystem ext4 --image-name $name --hdd-label $name --iso-application $name
echo "$pkgs" >> config/package-lists/my.list.chroot echo "$pkgs" >> config/package-lists/my.list.chroot
mkdir -p config/includes.chroot_after_packages/etc/skel/.local/; mkdir -p config/includes.chroot_after_packages/etc/skel/.config/ mkdir -p config/includes.chroot_after_packages/etc/skel/.local/; mkdir -p config/includes.chroot_after_packages/etc/skel/.config/
mkdir -p config/includes.chroot_after_packages/usr/local/bin/;
echo "COPY USER FILES..." echo "COPY USER FILES..."
xdg-open config/includes.chroot_after_packages/etc/skel; xdg-open config/includes.chroot_after_packages/etc/skel/;
echo "COPY BINARIES/SCRIPTS..."
xdg-open config/includes.chroot_after_packages/usr/local/bin/;
echo "ENTER TO CONTINUE" echo "ENTER TO CONTINUE"
read -n1 read -n1
echo "COPY DEB PACKAGE FILES TO INSTALL..." echo "COPY DEB PACKAGE FILES TO INSTALL..."
xdg-open config/packages.chroot; xdg-open config/packages.chroot/;
echo "ENTER TO CONTINUE" echo "ENTER TO CONTINUE"
read -n1 read -n1
#echo "COPY HOOKS..." #echo "COPY HOOKS..."
#xdg-open config/hooks; #xdg-open config/hooks;
#echo "ENTER TO CONTINUE" #echo "ENTER TO CONTINUE"
#read -n1 #read -n1
echo "PESS ENTER TO BUILD ISO" echo "PESS ENTER TO BUILD ISO"
read -n1 read -n1
sudo lb build sudo lb build