Compare commits

...

14 Commits

Author SHA1 Message Date
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
23 changed files with 264 additions and 47 deletions
+52
View File
@@ -1,3 +1,55 @@
[ 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)"
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
@@ -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
+6 -6
View File
@@ -8,16 +8,16 @@ 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
images:
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

+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
+104
View File
@@ -1,3 +1,107 @@
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
-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-amd64
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