Remove local repo scripts
This commit is contained in:
parent
00bf84ccc5
commit
3101e840ae
6 changed files with 7 additions and 39 deletions
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
type: "job"
|
||||
name: "sources-media-unmount"
|
||||
interface: "process"
|
||||
command: "/usr/sbin/sources-media -u"
|
||||
timeout: 600
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
type: "job"
|
||||
name: "sources-media"
|
||||
interface: "process"
|
||||
command: "/usr/sbin/sources-media"
|
||||
timeout: 600
|
|
@ -185,6 +185,7 @@
|
|||
- terminator
|
||||
- timeshift
|
||||
- virt-manager
|
||||
- virtualbox
|
||||
- waydroid
|
||||
- xfce4-terminal
|
||||
- ydotool
|
||||
|
|
|
@ -72,7 +72,6 @@ sequence:
|
|||
- mount
|
||||
- unpackfs
|
||||
- dpkg-unsafe-io
|
||||
- sources-media
|
||||
- machineid
|
||||
- fstab
|
||||
- locale
|
||||
|
@ -92,7 +91,6 @@ sequence:
|
|||
- initramfscfg
|
||||
- initramfs
|
||||
- dpkg-unsafe-io-undo
|
||||
- sources-media-unmount
|
||||
- sources-final
|
||||
- umount
|
||||
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
calamares-settings-tileos-sway (1.10~tileos) unstable; urgency=medium
|
||||
|
||||
* Remove local repo scripts
|
||||
|
||||
-- Aleksey Samoilov <samoilov.lex@gmail.com> Tue, 01 Aug 2023 22:42:07 +0400
|
||||
|
||||
calamares-settings-tileos-sway (1.9~tileos) unstable; urgency=medium
|
||||
|
||||
* Require internet for installing
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
|
||||
MEDIUM_PATH="/run/live/medium"
|
||||
RELEASE="bookworm"
|
||||
|
||||
if [ "$1" = "-u" ]; then
|
||||
umount $CHROOT/$MEDIUM_PATH
|
||||
rm $CHROOT/etc/apt/sources.list.d/debian-live-media.list
|
||||
chroot $CHROOT apt-get update
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Remove the base sources, we will configure sources in a later phase
|
||||
rm -f $CHROOT/etc/apt/sources.list.d/base.list
|
||||
|
||||
mkdir -p $CHROOT/$MEDIUM_PATH
|
||||
mount --bind $MEDIUM_PATH $CHROOT/$MEDIUM_PATH
|
||||
echo "deb [trusted=yes] file:$MEDIUM_PATH $RELEASE main" > $CHROOT/etc/apt/sources.list.d/debian-live-media.list
|
||||
chroot $CHROOT apt-get update
|
||||
# Attempt safest way to remove cruft
|
||||
rmdir $CHROOT/run/live/medium
|
||||
rmdir $CHROOT/run/live
|
||||
|
||||
exit 0
|
Loading…
Add table
Reference in a new issue