Added staging/stable release check to final install
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
calamares-settings-rakuos (1.2.4-1rakuos1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Added Stable/Staging release check for final system
|
||||||
|
|
||||||
|
-- Tohur <tohur@rakuos.org> Mon, 26 Nov 2025 08:30:08 -0700
|
||||||
|
|
||||||
calamares-settings-rakuos (1.2.3-1rakuos1) UNRELEASED; urgency=medium
|
calamares-settings-rakuos (1.2.3-1rakuos1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* First fork
|
* First fork
|
||||||
|
|||||||
@@ -4,25 +4,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
|
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
|
||||||
RELEASE="sid"
|
# Check if staging file exists to determine release
|
||||||
|
if [ -f "$CHROOT/staging" ]; then
|
||||||
|
RELEASE="staging"
|
||||||
|
else
|
||||||
|
RELEASE="stable"
|
||||||
|
fi
|
||||||
|
|
||||||
rm $CHROOT/etc/apt/sources.list
|
rm $CHROOT/etc/apt/sources.list
|
||||||
rm $CHROOT/etc/apt/sources.list.d/rakuos.list
|
rm $CHROOT/etc/apt/sources.list.d/rakuos.list
|
||||||
cat << EOF > $CHROOT/etc/apt/sources.list.d/rakuos.sources
|
cat << EOF > $CHROOT/etc/apt/sources.list.d/rakuos.sources
|
||||||
#RakuOS
|
#RakuOS
|
||||||
Types: deb
|
Types: deb
|
||||||
URIs: https://repo.rakuos.org/rakuos
|
URIs: https://repo.rakuos.org/
|
||||||
Suites: rakuos
|
Suites: rakuos $RELEASE
|
||||||
Components: main contrib non-free
|
Components: main contrib non-free
|
||||||
Signed-By: /usr/share/keyrings/rakuos-archive-keyring.gpg
|
Signed-By: /usr/share/keyrings/rakuos-archive-keyring.gpg
|
||||||
|
EOF
|
||||||
# Debian upstream
|
cat << EOF > $CHROOT/etc/apt/sources.list.d/xanmod.sources
|
||||||
Types: deb
|
|
||||||
URIs: http://repo.rakuos.org/upstream/
|
|
||||||
Suites: sid
|
|
||||||
Components: main contrib non-free non-free-firmware
|
|
||||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
|
||||||
|
|
||||||
#XanMod
|
#XanMod
|
||||||
Types: deb
|
Types: deb
|
||||||
URIs: http://deb.xanmod.org/
|
URIs: http://deb.xanmod.org/
|
||||||
|
|||||||
Reference in New Issue
Block a user