summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/install_configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index ad5a543..be1eb0d 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -99,8 +99,10 @@ EOF
[ -n "$KEYTABLE" ] && chroot_it install-keymap "$KEYTABLE" 2>/dev/null
- # remove live-repo from sources.list
+ # remove live-repo from sources.list and delete key
sed -i -e '/^# Live Media$/{N;\|\ndeb file:/live/image/debian |{N;/\n$/d}}' $TARGET/etc/apt/sources.list
+ sed -i -e '/^# Live Media$/{N;\|\ndeb file:/run/live/medium/debian |{N;/\n$/d}}' $TARGET/etc/apt/sources.list
+ rm -f $TARGET/etc/apt/trusted.gpg.d/live-media.asc
}
# Synopsis: configure_target_purge_live_only_stuff