Compare commits

...

8 Commits

Author SHA1 Message Date
Jonathan Carter f05fdbdad6 Update bootloader config 2019-07-08 12:23:29 +00:00
Jonathan Carter 15a94de5d5 fix path 2019-07-03 13:33:09 +00:00
Jonathan Carter 34abde07b6 Fix security issue 2019-07-03 13:09:54 +00:00
Jonathan Carter 70f14a44ba Add .gitignore 2019-04-18 08:51:04 +00:00
Jonathan Carter d1007c899d Add desktop icon 2019-04-18 08:50:53 +00:00
Jonathan Carter b16e2cb5c8 Minor bugs for buster 2019-04-16 08:03:39 +00:00
Jonathan Carter 6b89773a85 New upstream release 2019-02-15 16:08:17 +02:00
Jonathan Carter 98abeec1c0 New upstream release 2019-01-16 19:15:31 +02:00
11 changed files with 113 additions and 9 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/bin/sh
# Creates an "Install Debian" icon on the live session tested with:
# Xfce, LXDE, LXqt, Gnome, KDE, Mate, Cinnamon
# Create ~/Desktop just in case this runs before the xdg folder
# creation script.
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
else
cp /usr/share/applications/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
fi
+6 -6
View File
@@ -4,15 +4,15 @@ welcomeStyleCalamares: true
strings:
productName: Debian GNU/Linux
shortProductName: Debian GNU/Linux
version: 10
shortProductName: Debian
version: 10 (buster)
shortVersion: 10
versionedName: Debian GNU/Linux
shortVersionedName: Debian GNU/Linux 10
bootloaderEntryName: Debian GNU/Linux
versionedName: Debian 10 (buster)
shortVersionedName: Debian 10
bootloaderEntryName: Debian
productUrl: https://debian.org
supportUrl: https://www.debian.org/support
releaseNotesUrl: https://www.debian.org/releases/stretch/releasenotes
releaseNotesUrl: https://www.debian.org/releases/buster/releasenotes
images:
productLogo: "debian-logo.png"
+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: true
installEFIFallback: false
+1
View File
@@ -11,3 +11,4 @@ operations:
- 'live-tools'
- 'live-task-localisation'
- 'live-task-recommended'
- 'calamares-settings-debian'
+9
View File
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=Add Calamares Desktop Icon
Exec=add-calamares-desktop-icon
StartupNotify=false
NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
+5
View File
@@ -0,0 +1,5 @@
.debhelper/
calamares-settings-debian.substvars
calamares-settings-debian/
debhelper-build-stamp
files
+55
View File
@@ -1,3 +1,58 @@
calamares-settings-debian (10.0.25-1) unstable; urgency=medium
* New upstream release
- Refine fix for initramfs permissions, only apply
when encryption is enabled
-- Jonathan Carter <jcc@debian.org> Fri, 05 Jul 2019 17:37:33 +0200
calamares-settings-debian (10.0.24-1) unstable; urgency=medium
* New upstream release
- Fix path in previous CVE bug fix
-- Jonathan Carter <jcc@debian.org> Wed, 03 Jul 2019 13:29:07 +0000
calamares-settings-debian (10.0.23-1) unstable; urgency=medium
* New upstream release
- Fixes permissions for initramfs image (CVE-2019-13179)
(Closes: #931373)
-- Jonathan Carter <jcc@debian.org> Wed, 03 Jul 2019 13:05:47 +0000
calamares-settings-debian (10.0.20-1) unstable; urgency=medium
* New upstream release
- Configure Desktop icon for calamares
-- Jonathan Carter <jcc@debian.org> Thu, 18 Apr 2019 08:18:37 +0000
calamares-settings-debian (10.0.19-1) unstable; urgency=medium
* New upstream release
- Don't install unnecessary efi file (Closes: #927102)
- Fix distribution description
- Fix release notes URL
-- Jonathan Carter <jcc@debian.org> Mon, 15 Apr 2019 13:32:36 +0000
calamares-settings-debian (10.0.18-1) unstable; urgency=medium
* New upstream releas
- fix efi install path to EFI/debian
* Update to debhelper-compat (=12)
-- Jonathan Carter <jcc@debian.org> Fri, 15 Feb 2019 16:06:39 +0200
calamares-settings-debian (10.0.17-1) unstable; urgency=medium
* New upstream release
- explicitly remove calamares-settings-debian from calamares packages
module
-- Jonathan Carter <jcc@debian.org> Wed, 16 Jan 2019 19:14:36 +0200
calamares-settings-debian (10.0.16-1) unstable; urgency=medium
* New upstream release
-1
View File
@@ -1 +0,0 @@
11
+1 -1
View File
@@ -2,7 +2,7 @@ Source: calamares-settings-debian
Section: utils
Priority: optional
Maintainer: Jonathan Carter <jcc@debian.org>
Build-Depends: debhelper (>= 11), libglib2.0-bin
Build-Depends: debhelper-compat (= 12), libglib2.0-bin
Standards-Version: 4.3.0
Homepage: https://salsa.debian.org/live-team/calamares-settings-debian
Vcs-Git: https://salsa.debian.org/live-team/calamares-settings-debian-packaging.git
+2
View File
@@ -5,3 +5,5 @@ scripts/* usr/sbin
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
add-calamares-desktop-icon usr/bin
+8
View File
@@ -2,6 +2,14 @@
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
# 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
fi
echo "Running bootloader-config..."
if [ -d /sys/firmware/efi/efivars ]; then