This commit is contained in:
2025-07-02 18:33:10 -07:00
parent 9929209a06
commit ec4bcdbc2c
8 changed files with 32 additions and 31 deletions

View File

@@ -12,7 +12,7 @@ if [ -e /debian-bookworm_pt2.sh ]
else
echo " "
echo "WARNING ! debian-bookworm_pt2.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-bookworm_pt2.sh -O /debian-bookworm_pt2.sh
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-bookworm_pt2.sh -O /debian-bookworm_pt2.sh
chmod +x debian-bookworm_pt2.sh
fi
if [ -e /debian-bookworm_pt3.sh ]
@@ -21,7 +21,7 @@ if [ -e /debian-bookworm_pt3.sh ]
else
echo " "
echo "WARNING ! debian-bookworm_pt3.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-bookworm_pt3.sh -O /debian-bookworm_pt3.sh
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-bookworm_pt3.sh -O /debian-bookworm_pt3.sh
chmod +x debian-bookworm_pt3.sh
fi
sleep 1

View File

@@ -12,7 +12,7 @@ if [ -e /debian-bullseye_pt2.sh ]
else
echo " "
echo "WARNING ! debian-bullseye_pt2.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-bullseye_pt2.sh -O /debian-bullseye_pt2.sh
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-bullseye_pt2.sh -O /debian-bullseye_pt2.sh
chmod +x debian-bullseye_pt2.sh
fi
if [ -e /debian-bullseye_pt3.sh ]
@@ -21,7 +21,7 @@ if [ -e /debian-bullseye_pt3.sh ]
else
echo " "
echo "WARNING ! debian-bullseye_pt3.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-bullseye_pt3.sh -O /debian-bullseye_pt3.sh
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-bullseye_pt3.sh -O /debian-bullseye_pt3.sh
chmod +x debian-bullseye_pt3.sh
fi
sleep 1

View File

@@ -12,7 +12,7 @@ if [ -e /debian-buster_pt2.sh ]
else
echo " "
echo "WARNING ! debian-buster_pt2.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-buster_pt2.sh -O /debian-buster_pt2.sh
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-buster_pt2.sh -O /debian-buster_pt2.sh
chmod +x debian-buster_pt2.sh
fi
if [ -e /debian-buster_pt3.sh ]
@@ -21,7 +21,7 @@ if [ -e /debian-buster_pt3.sh ]
else
echo " "
echo "WARNING ! debian-buster_pt3.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-buster_pt3.sh -O /debian-buster_pt3.sh
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-buster_pt3.sh -O /debian-buster_pt3.sh
chmod +x debian-buster_pt3.sh
fi
sleep 1

View File

@@ -6,23 +6,23 @@ RELEASE=stable
echo " "
echo "INFO ! Downloading other parts of the script if needed."
if [ -e /debian-bookworm_pt2.sh ]
if [ -e /debian-docker-build_pt2.sh ]
then
echo "INFO ! debian-bookworm_pt2.sh found ... will not download."
echo "INFO ! debian-docker-build_pt2.sh found ... will not download."
else
echo " "
echo "WARNING ! debian-bookworm_pt2.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-bookworm_pt2.sh -O /debian-bookworm_pt2.sh
chmod +x debian-bookworm_pt2.sh
echo "WARNING ! debian-docker-build_pt2.sh not found ... will download new copy."
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-docker-build_pt2.sh -O /debian-docker-build_pt2.sh
chmod +x debian-docker-build_pt2.sh
fi
if [ -e /debian-bookworm_pt3.sh ]
if [ -e /debian-docker-build_pt3.sh ]
then
echo "INFO ! debian-bookworm_pt3.sh found ... will not download."
echo "INFO ! debian-docker-build_pt3.sh found ... will not download."
else
echo " "
echo "WARNING ! debian-bookworm_pt3.sh not found ... will download new copy."
wget --no-cache https://gitea.fithwum.tech/fithwum/base-image/raw/branch/main/build-script/debian-bookworm_pt3.sh -O /debian-bookworm_pt3.sh
chmod +x debian-bookworm_pt3.sh
echo "WARNING ! debian-docker-build_pt3.sh not found ... will download new copy."
wget --no-cache https://raw.githubusercontent.com/fithwum/base-image/refs/heads/main/build-script/debian-docker-build_pt3.sh -O /debian-docker-build_pt3.sh
chmod +x debian-docker-build_pt3.sh
fi
sleep 1
echo " "
@@ -38,7 +38,7 @@ apt-get install -y debootstrap ftp-upload bash dirmngr curl
sleep 1
echo " "
echo "INFO ! Downloading debian & selected packages."
debootstrap --force-check-gpg --variant=minbase --components=main,contrib,non-free --include=dirmngr,apt-transport-https,bash,software-properties-common,ca-certificates,wget,curl,nano --arch=amd64 bookworm /debian-bookworm http://deb.debian.org/debian/
debootstrap --force-check-gpg --variant=minbase --components=main,contrib,non-free --include=dirmngr,apt-transport-https,bash,software-properties-common,ca-certificates,wget,curl,nano,docker --arch=amd64 bookworm /debian-bookworm http://deb.debian.org/debian/
echo " "
echo "INFO ! Filesystem size uncompressed."
sleep 1