Bug#777758: partman-partitioning: x32 port
Package: partman-partitioning
Version: 106
Severity: wishlist
Tags: d-i patch
User: debian-x32@lists.debian.org
Usertags: port-x32 di-x32
Hi!
Please apply the attached patch. It adds a default disk label type for the
x32 architecture. Without this patch, the user gets an error message and
has to choose GPT/MSDOS on his own. The patch can be applied directly to
the d-i/partman-partitioning git repository.
If you want to test, as the patch-set for x32 in d-i involves around twenty
packages, you'll want ready packages from the repository at debian-x32.org.
Complete d-i isos are available at http://debian-x32.org/#debian-installer
while debs/udebs/modified sources at http://ftp.debian-x32.org/debian/
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental')
Architecture: x32 (x86_64)
Kernel: Linux 3.19.0-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
>From cbc96e8dcffdbf5b8b6fb8280efda97de17ed5d7 Mon Sep 17 00:00:00 2001
From: Adam Borowski <kilobyte@angband.pl>
Date: Thu, 12 Feb 2015 07:36:14 +0100
Subject: [PATCH] Add support for x32.
---
debian/rules | 3 +++
lib/disk-label.sh | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 98b3fde..649db62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,9 @@ endif
ifeq ($(ARCH), amd64)
FS_DEPENDS=ntfs-3g-udeb
endif
+ifeq ($(ARCH), x32)
+FS_DEPENDS=ntfs-3g-udeb
+endif
ifeq ($(ARCH), ia64)
FS_DEPENDS=ntfs-3g-udeb
endif
diff --git a/lib/disk-label.sh b/lib/disk-label.sh
index b24f4a8..bec6ba8 100644
--- a/lib/disk-label.sh
+++ b/lib/disk-label.sh
@@ -18,7 +18,7 @@ default_disk_label () {
else
echo msdos
fi;;
- amd64|kfreebsd-amd64|i386|kfreebsd-i386|hurd-i386)
+ amd64|kfreebsd-amd64|i386|kfreebsd-i386|hurd-i386|x32)
case "$sub" in
mac|efi)
echo gpt;;
--
2.1.4
Reply to: