First Commit
This commit is contained in:
36
helpers/calamares-sources-final
Executable file
36
helpers/calamares-sources-final
Executable 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
|
||||
Reference in New Issue
Block a user