mirror of
https://git.launchpad.net/~ubuntu-qt-code/ubuntu/+source/calamares/+git/calamares
synced 2025-05-19 07:21:29 +00:00
New upstream release.
This commit is contained in:
parent
3ab57a811b
commit
ed55e14dde
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
calamares (3.3.0-alpha4-0ubuntu1) noble; urgency=medium
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 20 Oct 2023 12:33:39 -0500
|
||||||
|
|
||||||
calamares (3.3.0-alpha2-0ubuntu6) mantic; urgency=medium
|
calamares (3.3.0-alpha2-0ubuntu6) mantic; urgency=medium
|
||||||
|
|
||||||
* Add support for Netplan backends (LP: #2036999).
|
* Add support for Netplan backends (LP: #2036999).
|
||||||
|
@ -8,18 +8,17 @@ Subject: replace pkexec by sudo
|
|||||||
|
|
||||||
--- a/calamares.desktop
|
--- a/calamares.desktop
|
||||||
+++ b/calamares.desktop
|
+++ b/calamares.desktop
|
||||||
@@ -6,13 +6,14 @@ GenericName=System Installer
|
@@ -5,12 +5,13 @@ Name=Install System
|
||||||
Comment=Calamares — System Installer
|
GenericName=System Installer
|
||||||
Keywords=calamares;system;installer;
|
Keywords=calamares;system;installer;
|
||||||
TryExec=calamares
|
TryExec=calamares
|
||||||
-Exec=sh -c "pkexec calamares"
|
-Exec=sh -c "pkexec calamares"
|
||||||
+Exec=sh -c "sudo -E calamares -D6"
|
+Exec=sh -c "sudo -E calamares -D6"
|
||||||
|
Comment=Calamares — System Installer
|
||||||
Categories=Qt;System;
|
|
||||||
Icon=calamares
|
Icon=calamares
|
||||||
Terminal=false
|
Terminal=false
|
||||||
SingleMainWindow=true
|
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
Categories=Qt;System;
|
||||||
+NotShowIn=LXQt;
|
+NotShowIn=LXQt;
|
||||||
X-AppStream-Ignore=true
|
X-AppStream-Ignore=true
|
||||||
|
|
||||||
|
40
debian/patches/netplan-networking.patch
vendored
40
debian/patches/netplan-networking.patch
vendored
@ -1,40 +0,0 @@
|
|||||||
Description: Add support for Netplan backends
|
|
||||||
Ubuntu switched to using Netplan as a backend for Network Manager. Add support for those configs
|
|
||||||
Author: Simon Quigley <tsimonq2@lubuntu.me>
|
|
||||||
Origin: vendor
|
|
||||||
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/2036999
|
|
||||||
Last-Update: 2023-10-08
|
|
||||||
---
|
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
||||||
--- a/src/modules/networkcfg/main.py
|
|
||||||
+++ b/src/modules/networkcfg/main.py
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
#
|
|
||||||
|
|
||||||
import os
|
|
||||||
+import glob
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
import libcalamares
|
|
||||||
@@ -131,6 +132,21 @@ def run():
|
|
||||||
except FileExistsError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
+ # Also install netplan files
|
|
||||||
+ source_netplan = "/etc/netplan"
|
|
||||||
+ root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
|
|
||||||
+ target_netplan = os.path.join(root_mount_point, source_netplan.lstrip('/'))
|
|
||||||
+
|
|
||||||
+ if os.path.exists(source_netplan) and os.path.exists(target_netplan):
|
|
||||||
+ for cfg in glob.glob(os.path.join(source_netplan, "90-NM-*")):
|
|
||||||
+ source_cfg = os.path.join(source_netplan, cfg)
|
|
||||||
+ target_cfg = os.path.join(target_netplan, os.path.basename(cfg))
|
|
||||||
+
|
|
||||||
+ if os.path.exists(target_cfg):
|
|
||||||
+ continue
|
|
||||||
+
|
|
||||||
+ shutil.copy(source_cfg, target_cfg)
|
|
||||||
+
|
|
||||||
# We need to overwrite the default resolv.conf in the chroot.
|
|
||||||
source_resolv, target_resolv = path_pair(root_mount_point, "etc/resolv.conf")
|
|
||||||
if source_resolv != target_resolv and os.path.exists(source_resolv):
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,3 +1,2 @@
|
|||||||
0001-replace-pkexec-by-sudo.patch
|
0001-replace-pkexec-by-sudo.patch
|
||||||
apport-package-hook.patch
|
apport-package-hook.patch
|
||||||
netplan-networking.patch
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user