First Commit

This commit is contained in:
2025-11-17 07:14:23 -07:00
parent 36eac8aeb1
commit de8b5170b5
49 changed files with 1791 additions and 0 deletions

36
helpers/calamares-sources-final Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/sh
#
# Writes the final sources.list file
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="sid"
rm $CHROOT/etc/apt/sources.list
rm $CHROOT/etc/apt/sources.list.d/rakuos.list
cat << EOF > $CHROOT/etc/apt/sources.list.d/rakuos.sources
#RakuOS
Types: deb
URIs: https://repo.rakuos.org/rakuos
Suites: rakuos
Components: main contrib non-free
Signed-By: /usr/share/keyrings/rakuos-archive-keyring.gpg
# Debian upstream
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
Types: deb
URIs: http://deb.xanmod.org/
Suites: sid
Components: main
Signed-By: /usr/share/keyrings/xanmod-archive-keyring.gpg
EOF
rm -rf $CHROOT/live
rm $CHROOT/etc/resolv.conf
ln -sf /run/systemd/resolve/stub-resolv.conf $CHROOT/etc/resolv.conf
exit 0