Compare commits

...

22 Commits

Author SHA1 Message Date
Jonathan Carter f1eaade778 New upstream release 2024-06-21 18:29:43 +02:00
Jonathan Carter 1812e99279 New upstream release 2024-06-21 18:28:53 +02:00
Jonathan Carter 939d291d4d Update watch file 2024-06-19 11:02:06 +02:00
Jonathan Carter dbd5ea6632 Update watch file 2024-06-19 11:01:48 +02:00
Jonathan Carter c620eda931 New release 2024-02-11 14:54:29 +02:00
Jonathan Carter 2b4012a6cd make desktop launcher translation safer 2023-09-06 12:58:15 +05:30
Jonathan Carter 739cba6c49 New release: Fix /dev mount crash 2023-08-28 19:18:52 +02:00
Jonathan Carter 86b6ea8f4f New upstream release 2023-08-25 22:01:36 +02:00
Jonathan Carter ad0aeffc52 New upstream release 2023-08-24 17:33:04 +02:00
Jonathan Carter 77d2a2c381 New upstream release 2023-08-24 17:27:59 +02:00
Jonathan Carter 291444b863 New upstream release 2023-05-04 21:32:27 +02:00
Jonathan Carter 64a2ef74ec os-prober / grub stuff 2023-05-04 20:42:44 +02:00
Jonathan Carter c14e3710e8 New upstream release 2023-03-06 19:26:38 +02:00
Jonathan Carter 02f1f852cc New upstream release 2023-03-06 12:35:42 +02:00
Jonathan Carter 3e977929fb New release 2022-08-02 09:37:49 +02:00
Jonathan Carter b348bf4fb8 New upstream release 2022-05-19 14:51:59 +02:00
Jonathan Carter 440efe3275 New release 2022-05-12 21:07:10 +02:00
Jonathan Carter f06d21fe19 Merge branch 'lintian-fixes' into 'master'
Fix some issues reported by lintian

See merge request live-team/calamares-settings-debian-packaging!1
2022-02-18 09:13:41 +00:00
Debian Janitor a485f47a54 Update standards version to 4.6.0, no changes needed.
Changes-By: lintian-brush
Fixes: lintian: out-of-date-standards-version
See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
2021-10-12 20:09:16 +00:00
Debian Janitor 8773ee70d0 Set upstream metadata fields: Repository, Repository-Browse.
Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html
2021-10-12 20:09:15 +00:00
Jonathan Carter 06541f170d Fix security entries in sources.list 2021-09-06 08:46:17 +02:00
Jonathan Carter 23079c258a New upstream release 2020-11-11 14:55:50 +02:00
29 changed files with 371 additions and 72 deletions
+83
View File
@@ -1,3 +1,86 @@
[ 13.0.6 ]
* Merge MR!3
- Add missing mountpoints
* Merge MR!2
- Install more generic grub-efi package to allow installation on
non-amd64 architectures
* Remove space_cache from fstab module (space_cache=v2 is now default)
and also autodefrag which isn't useful on modern storage
[ 13.0.5 ]
* Add pesky missing delimiter for Calamares desktop icon setup
(thanks Roland Clobus, #1037299)
[ 13.0.4 ]
* Update config in mount module so that /dev is properly mounted
in target
[ 13.0.3 ]
* Update branding elements for Calamares 3.3 series
* Fix desktop file launcher
* Set installEFIFallback: true
* Don't allow empty passwords
[ 13.0.2 ]
* Fix desktop icon path in add-calamares-desktop-icon
[ 13.0.1 ]
* Initial release for trixie
- Update sources.list writer and media sources
* Update copyright years
* Update installer artwork (egg theme)
* Rename launchers (partial fix towards #1021156)
* Mark desktop launchers as trusted for xfce/gnome (#1037299)
[ 12.0.9 ]
* Fix typos in version numbers for last two changelog entries
* Install cryptsetup-initramfs, cryptsetup and keyutils (only) when needed
(required due to these packages only now existing on package pool,
not on the squashfs filesystem)
[ 12.0.8 ]
* Do grub work within the chroot
[ 12.0.7 ]
* Enable os-prober /after/ grub has been installed.
[ 12.0.6 ]
* Enable os-prober
[ 12.0.5 ]
* Update sources.list to include non-free-firmware and backports
[ 12.0.4 ]
* Update artwork for Debian 12 (emerald theme)
* Make installer slide translatable
[ 12.0.3 ]
* Work around hidpi issue (#992162)
[ 12.0.2 ]
* Fix dpkg-unsafe-io and dpkg-unsafe-io-undo names
* Update the sources-media script to use bookworm
[ 12.0.1 ]
* Initial branding description and sources.list changes for bookworm
* Add dpkg-unsafe-io module to speed up post-installation
(Debian bug: #984794)
[ 11.0.3 ]
* Update settings.conf with changes from recent releases
+1 -1
View File
@@ -1,6 +1,6 @@
ISC License
Copyright (c) 2016-2020, Jonathan Carter <jcc@debian.org>
Copyright (c) 2016-2023, Jonathan Carter <jcc@debian.org>
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+16 -8
View File
@@ -13,15 +13,23 @@ mkdir -p $DESKTOP
# Among the Debian desktop environments, LXDE is the only one
# that behaves completely different.
if [ -f /usr/bin/lxsession ]; then
echo "[Desktop Entry]" > $DESKTOP/install-debian.desktop
echo "Type=Link" >> $DESKTOP/install-debian.desktop
echo "Name=Install Debian" >> $DESKTOP/install-debian.desktop
echo "Icon=install-debian" >> $DESKTOP/install-debian.desktop
echo "URL=/usr/share/applications/install-debian.desktop" \
>> $DESKTOP/install-debian.desktop
echo "[Desktop Entry]" > $DESKTOP/calamares-install-debian.desktop
echo "Type=Link" >> $DESKTOP/calamares-install-debian.desktop
echo "Name=Install Debian" >> $DESKTOP/calamares-install-debian.desktop
echo "Icon=install-debian" >> $DESKTOP/calamares-install-debian.desktop
echo "URL=/usr/share/applications/calamares-install-debian.desktop" \
>> $DESKTOP/calamares-install-debian.desktop
else
cp /usr/share/applications/install-debian.desktop $DESKTOP
cp /usr/share/applications/calamares-install-debian.desktop $DESKTOP
# Xfce needs this executable otherwise it complains, everything
# else doesn't seem to care either way.
chmod +x $DESKTOP/install-debian.desktop
chmod +x $DESKTOP/calamares-install-debian.desktop
fi
# Set desktop launcher as trusted under gnome/xfce (See: #1037299)
gio set --type=string ~/Desktop/calamares-install-debian.desktop \
metadata::trusted true
gio set --type=string ~/Desktop/calamares-install-debian.desktop \
metadata::xfce-exe-checksum \
"$(sha256sum ~/Desktop/calamares-install-debian.desktop | cut -f1 -d' ')"
touch ~/Desktop/calamares-install-debian.desktop
+26
View File
@@ -0,0 +1,26 @@
#!/bin/sh
###
# Wrapper for running calamares on Debian live media
###
# Stale file left behind by live-build that messes with partitioning
sudo mv /etc/fstab /etc/fstab.orig.calamares
# Allow Calamares to scale the window for hidpi displays
# This is fixed in the Calamares 3.3.0 series, so we can remove this
# once we switch to that
# Upstream commit that will make this obsolete:
# https://github.com/calamares/calamares/commit/e9f011b686a0982fb7828e8ac02a8e0784d3b11f
# Upstream bug:
# https://github.com/calamares/calamares/issues/1945
# Debian bug:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992162
export QT_AUTO_SCREEN_SCALE_FACTOR=1
# Access control to run calamares as root for xwayland
xhost +si:localuser:root
pkexec calamares
xhost -si:localuser:root
# Restore stale fstab, for what it's worth
sudo mv /etc/fstab.orig.calamares /etc/fstab
@@ -3,7 +3,7 @@ Type=Application
Version=1.0
Name=Install Debian
GenericName=Calamares Installer
Exec=install-debian
Exec=calamares-install-debian
Comment=Calamares Installer for Debian Live
Keywords=calamares;system;install;debian;installer
Icon=install-debian
@@ -0,0 +1,6 @@
---
type: "job"
name: "dpkg-unsafe-io-undo"
interface: "process"
command: "/usr/sbin/dpkg-unsafe-io -u"
timeout: 600
@@ -0,0 +1,6 @@
---
type: "job"
name: "dpkg-unsafe-io"
interface: "process"
command: "/usr/sbin/dpkg-unsafe-io"
timeout: 600
+16 -12
View File
@@ -3,35 +3,39 @@ componentName: debian
welcomeStyleCalamares: true
welcomeExpandingLogo: true
windowExpanding: normal
windowSize: 800px,520px
windowSize: 800px,580px
windowPlacement: center
strings:
productName: Debian GNU/Linux
shortProductName: Debian testing
version: 11 (bullseye)
shortVersion: 11
versionedName: Debian 11 (bullseye)
shortVersionedName: Debian 11
shortProductName: Debian
version: 13
shortVersion: 13
versionedName: Debian 13
shortVersionedName: Debian 13
bootloaderEntryName: Debian
productUrl: https://debian.org
supportUrl: https://www.debian.org/support
knownIssuesUrl: https://bugs.debian.org
releaseNotesUrl: https://www.debian.org/releases/bullseye/releasenotes
releaseNotesUrl: https://www.debian.org/releases/bookworm/releasenotes
donateUrl: https://www.debian.org
sidebar: widget
navigation: widget
images:
# productBanner: "/usr/share/desktop-base/emerald-theme/grub/grub-16x9.png"
productLogo: "debian-logo.png"
productIcon: "debian-logo.png"
productWelcome: "welcome.png"
# productWallpaper: "wallpaper.png"
# productWallpaper: ""
slideshow: "show.qml"
style:
sidebarBackground: "#2c3133"
sidebarText: "#FFFFFF"
sidebarTextSelect: "#4d7079"
sidebarTextSelect: "#292F34"
SidebarBackground: "#010027"
SidebarText: "#FFFFFF"
SidebarTextCurrent: "#fbfbfb"
SidebarBackgroundCurrent: "#017877"
slideshowAPI: 2
Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 38 KiB

+2 -2
View File
@@ -40,8 +40,8 @@ Presentation
Text {
anchors.horizontalCenter: background1.horizontalCenter
anchors.top: background1.bottom
text: "Welcome to Debian GNU/Linux.<br/>"+
"The rest of the installation is automated and should complete in a few minutes."
text: qsTr("Welcome to Debian GNU/Linux.<br/>"+
"The rest of the installation is automated and should complete in a few minutes.")
wrapMode: Text.WordWrap
width: 600
horizontalAlignment: Text.Center
Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 71 KiB

+1 -1
View File
@@ -51,4 +51,4 @@ efiBootMgr: "efibootmgr"
# seems to be the only one). If you set this to false, take care
# to add another module to optionally install the fallback on those
# boards that need it.
installEFIFallback: false
installEFIFallback: true
+1 -1
View File
@@ -1,7 +1,7 @@
---
mountOptions:
default: defaults,noatime
btrfs: defaults,noatime,space_cache,autodefrag
btrfs: defaults,noatime
ssdExtraMountOptions:
ext4: discard
jfs: discard
+18 -10
View File
@@ -1,17 +1,22 @@
# SPDX-FileCopyrightText: no
# SPDX-License-Identifier: CC0-1.0
#
# Mount filesystems in the target (generally, before treating the
# target as a usable chroot / "live" system). Filesystems are
# automatically mounted from the partitioning module. Filesystems
# listed here are **extra**. The filesystems listed in *extraMounts*
# are mounted in all target systems. The filesystems listed in
# *extraMountsEfi* are mounted in the target system **only** if
# the host machine uses UEFI.
# are mounted in all target systems.
---
# Extra filesystems to mount. The key's value is a list of entries; each
# entry has four keys:
# entry has five keys:
# - device The device node to mount
# - fs The filesystem type to use
# - fs (optional) The filesystem type to use
# - mountPoint Where to mount the filesystem
# - options (optional) Extra options to pass to mount(8)
# - options (optional) An array of options to pass to mount
# - efi (optional) A boolean that when true is only mounted for UEFI installs
#
# The device is not mounted if the mountPoint is unset or if the fs is
# set to unformatted.
#
extraMounts:
- device: proc
@@ -22,15 +27,18 @@ extraMounts:
mountPoint: /sys
- device: /dev
mountPoint: /dev
options: bind
options: [ bind ]
- device: tmpfs
fs: tmpfs
mountPoint: /run
- device: /run/udev
mountPoint: /run/udev
options: bind
extraMountsEfi:
options: [ bind ]
- device: efivarfs
fs: efivarfs
mountPoint: /sys/firmware/efi/efivars
efi: true
- device: /dev/pts
mountPoint: /dev/pts
options: [ bind ]
# /dev/pts is required by apt for storing the logs
+9
View File
@@ -15,3 +15,12 @@ defaultGroups:
autologinGroup: autologin
sudoersGroup: sudo
setRootPassword: false
passwordRequirements:
nonempty: true
minLength: -1 # Password at least this many characters
maxLength: -1 # Password at most this many characters
libpwquality:
- minlen=0
- minclass=0
+2
View File
@@ -62,6 +62,7 @@ sequence:
- partition
- mount
- unpackfs
- dpkg-unsafe-io
- sources-media
- machineid
- fstab
@@ -81,6 +82,7 @@ sequence:
- plymouthcfg
- initramfscfg
- initramfs
- dpkg-unsafe-io-undo
- sources-media-unmount
- sources-final
- umount
-5
View File
@@ -1,5 +0,0 @@
.debhelper/
calamares-settings-debian.substvars
calamares-settings-debian/
debhelper-build-stamp
files
+138
View File
@@ -1,3 +1,141 @@
calamares-settings-debian (13.0.6-1) unstable; urgency=medium
* New upstream release
- Mount efivarfs when needed (Closes: #1051607)
-- Jonathan Carter <jcc@debian.org> Fri, 21 Jun 2024 18:13:26 +0200
calamares-settings-debian (13.0.5-2) unstable; urgency=medium
* Update debian/watch to work with new GitLab release
-- Jonathan Carter <jcc@debian.org> Wed, 19 Jun 2024 11:01:19 +0200
calamares-settings-debian (13.0.5-1) unstable; urgency=medium
* New upstream release
- Fix delimiter in desktop icon script (Closes: #1037299)
-- Jonathan Carter <jcc@debian.org> Sun, 11 Feb 2024 14:48:39 +0200
calamares-settings-debian (13.0.4-1) unstable; urgency=medium
* New upstream release
- Fix crash where /dev isn't mounted
-- Jonathan Carter <jcc@debian.org> Mon, 28 Aug 2023 19:17:29 +0200
calamares-settings-debian (13.0.3-1) unstable; urgency=medium
* New upstream release
- Do not allow empty password (Closes: #1050291)
-- Jonathan Carter <jcc@debian.org> Fri, 25 Aug 2023 21:51:02 +0200
calamares-settings-debian (13.0.2-1) unstable; urgency=medium
* New upstream release
- Fix desktop script path
-- Jonathan Carter <jcc@debian.org> Thu, 24 Aug 2023 17:32:33 +0200
calamares-settings-debian (13.0.1-1) unstable; urgency=medium
* New upstream release
- Initial trixie support
* Add dependency: libglib2.0-bin
- Plus upstream fixes for desktop launcher (Closes: #1037299)
* Update standards version to 4.6.2
* Update copyright years
-- Jonathan Carter <jcc@debian.org> Thu, 24 Aug 2023 16:49:49 +0200
calamares-settings-debian (12.0.9-1) unstable; urgency=medium
* New upstream release
- Deal with changes in how luks tools are installed from live media
-- Jonathan Carter <jcc@debian.org> Thu, 04 May 2023 20:47:17 +0200
calamares-settings-debian (12.0.8-1) unstable; urgency=medium
* New upstream release
- Make grub changes in the correct place (within the chroot)
-- Jonathan Carter <jcc@debian.org> Wed, 26 Apr 2023 14:25:34 +0200
calamares-settings-debian (12.0.7-1) unstable; urgency=medium
* New upstream release
- Re-enable os-prober
-- Jonathan Carter <jcc@debian.org> Wed, 26 Apr 2023 13:43:01 +0200
calamares-settings-debian (12.0.5-2) unstable; urgency=medium
* Depend on pkexec (Closes: #1033930)
-- Jonathan Carter <jcc@debian.org> Tue, 04 Apr 2023 09:51:03 +0200
calamares-settings-debian (12.0.5-1) unstable; urgency=medium
* New upstream release
- Update sources.list to include backports and non-free-firmware
-- Jonathan Carter <jcc@debian.org> Mon, 06 Mar 2023 19:24:55 +0200
calamares-settings-debian (12.0.4-1) unstable; urgency=medium
* New upstream release
- Bookworm artwork
- Make installer slide translatable
-- Jonathan Carter <jcc@debian.org> Mon, 06 Mar 2023 12:33:33 +0200
calamares-settings-debian (12.0.3-1) unstable; urgency=medium
* New upstream release
(work arounds hidpi issue, Closes: #992162)
-- Jonathan Carter <jcc@debian.org> Tue, 02 Aug 2022 09:35:26 +0200
calamares-settings-debian (12.0.2-1) unstable; urgency=medium
* New upstream release
-- Jonathan Carter <jcc@debian.org> Thu, 19 May 2022 14:51:29 +0200
calamares-settings-debian (12.0.1-1) unstable; urgency=medium
[ Debian Janitor ]
* Set upstream metadata fields: Repository, Repository-Browse.
* Update standards version to 4.6.0, no changes needed.
[ Jonathan Carter ]
* New release
- Use force-unsafe-io to speed up dpkg actions (Closes: #984794)
-- Jonathan Carter <jcc@debian.org> Mon, 09 May 2022 13:37:12 +0200
calamares-settings-debian (11.0.5-2) unstable; urgency=medium
* Add supplimental information to previous changelog entry
-- Jonathan Carter <jcc@debian.org> Mon, 26 Jul 2021 10:27:12 +0200
calamares-settings-debian (11.0.5-1) unstable; urgency=medium
* New upstream release
- Corrects the apt sources for security updates (Closes: #991474)
-- Jonathan Carter <jcc@debian.org> Sun, 25 Jul 2021 14:10:24 +0200
calamares-settings-debian (11.0.4-1) unstable; urgency=medium
* New upstream release
-- Jonathan Carter <jcc@debian.org> Wed, 11 Nov 2020 14:54:50 +0200
calamares-settings-debian (11.0.3-1) unstable; urgency=medium
* New upstream release
+3 -1
View File
@@ -3,7 +3,7 @@ Section: utils
Priority: optional
Maintainer: Jonathan Carter <jcc@debian.org>
Build-Depends: debhelper-compat (= 13), libglib2.0-bin
Standards-Version: 4.5.0
Standards-Version: 4.6.2
Rules-Requires-Root: no
Homepage: https://salsa.debian.org/live-team/calamares-settings-debian
Vcs-Git: https://salsa.debian.org/live-team/calamares-settings-debian-packaging.git
@@ -13,7 +13,9 @@ Package: calamares-settings-debian
Architecture: all
Depends: calamares,
cryptsetup,
libglib2.0-bin,
keyutils,
pkexec,
qml-module-qtquick-window2,
qml-module-qtquick2,
${misc:Depends}
+2 -2
View File
@@ -3,7 +3,7 @@ Upstream-Name: calamares-settings-debian
Source: https://gitlab.com/highvoltage/calamares-settings-debian
Files: *
Copyright: 2016-2020, Jonathan Carter <jcc@debian.org>
Copyright: 2016-2023, Jonathan Carter <jcc@debian.org>
License: ISC
Files: calamares/branding/debian/*png
@@ -11,7 +11,7 @@ Copyright: 2019 Isabelle Simpkins <isy@koipond.org.uk>
License: CC-BY-SA-3.0
Files: debian/*
Copyright: 2016-2020 Jonathan Carter <jcc@debian.org>
Copyright: 2016-2023 Jonathan Carter <jcc@debian.org>
License: ISC
Files: calamares/branding/debian/show.qml
+1 -1
View File
@@ -2,7 +2,7 @@ calamares etc
calamares-modules/* usr/lib/calamares/modules
scripts/* usr/sbin
*.desktop usr/share/applications
install-debian usr/bin
calamares-install-debian usr/bin
artwork/install-debian.png usr/share/pixmaps
conf/96_calamares-settings-debian.gschema.override usr/share/glib-2.0/schemas
conf/calamares-desktop-icon.desktop etc/xdg/autostart
+3
View File
@@ -0,0 +1,3 @@
---
Repository: https://salsa.debian.org/live-team/calamares-settings-debian.git
Repository-Browse: https://salsa.debian.org/live-team/calamares-settings-debian
+2 -1
View File
@@ -1,2 +1,3 @@
version=4
https://salsa.debian.org/live-team/calamares-settings-debian/tags .*/calamares-settings-debian-(.*)\.tar\.gz
opts="searchmode=plain" \
https://salsa.debian.org/live-team/calamares-settings-debian/tags?sort=updated_desc -/archive/v?\d[\d.]+/calamares-settings-debian-@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
-15
View File
@@ -1,15 +0,0 @@
#!/bin/sh
###
# Wrapper for running calamares on Debian live media
###
# Stale file left behind by live-build that messes with partitioning
sudo mv /etc/fstab /etc/fstab.orig.calamares
# Access control to run calamares as root for xwayland
xhost +si:localuser:root
pkexec calamares
xhost -si:localuser:root
# Restore stale fstab, for what it's worth
sudo mv /etc/fstab.orig.calamares /etc/fstab
+9 -3
View File
@@ -2,20 +2,26 @@
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
# Set secure permissions for the initramfs if we're configuring
# Install luks utilities if needed.
# Also, set secure permissions for the initramfs if we're configuring
# full-disk-encryption. The initramfs is re-generated later in the
# installation process so we only set the permissions snippet without
# regenerating the initramfs right now:
if [ "$(mount | grep $CHROOT" " | cut -c -16)" = "/dev/mapper/luks" ]; then
echo "UMASK=0077" > $CHROOT/etc/initramfs-tools/conf.d/initramfs-permissions
chroot $CHROOT apt-get -y install cryptsetup-initramfs cryptsetup keyutils
fi
echo "Running bootloader-config..."
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi (uefi)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-amd64 cryptsetup keyutils
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi
else
echo " * install grub... (bios)"
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc cryptsetup keyutils
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc
fi
# Re-enable os-prober:
sed -i "s/#GRUB_DISABLE_OS_PROBER=false/# OS_PROBER re-enabled by Debian Calamares installation:\nGRUB_DISABLE_OS_PROBER=false/g" $CHROOT/etc/default/grub
chroot $CHROOT /usr/sbin/update-grub
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
if [ "$1" = "-u" ]; then
rm $CHROOT/etc/dpkg/dpkg.cfg.d/calamares-force-unsafe-io
sync
exit 0
fi
echo "force-unsafe-io" > $CHROOT/etc/dpkg/dpkg.cfg.d/calamares-force-unsafe-io
exit 0
+11 -7
View File
@@ -4,18 +4,22 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="bullseye"
RELEASE="trixie"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian $RELEASE main
deb-src http://deb.debian.org/debian $RELEASE main
deb http://deb.debian.org/debian $RELEASE main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE main non-free-firmware
deb http://deb.debian.org/debian $RELEASE-updates main
deb-src http://deb.debian.org/debian $RELEASE-updates main
deb http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
deb http://security.debian.org/debian-security/ $RELEASE-updates main
deb-src http://security.debian.org/debian-security/ $RELEASE-updates main
deb http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
# Backports allow you to install newer versions of software made available for this release
deb http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
EOF
exit 0
+1 -1
View File
@@ -2,7 +2,7 @@
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
MEDIUM_PATH="/run/live/medium"
RELEASE="bullseye"
RELEASE="trixie"
if [ "$1" = "-u" ]; then
umount $CHROOT/$MEDIUM_PATH