Bug#752418: partman-auto: ppc64el support
Package: partman-auto
Version: 118
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
Dear Maintainer,
here is a patch from Ubuntu to add support to ppc64el.
F.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.14-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru partman-auto-118/recipes-ppc64el/atomic partman-auto-118/recipes-ppc64el/atomic
--- partman-auto-118/recipes-ppc64el/atomic 1970-01-01 00:00:00.000000000 +0000
+++ partman-auto-118/recipes-ppc64el/atomic 2014-01-15 00:28:39.000000000 +0000
@@ -0,0 +1,29 @@
+partman-auto/text/atomic_scheme ::
+
+8 1 1 prep
+ $primary{ }
+ $bootable{ }
+ method{ prep } .
+
+128 512 256 ext2
+ $defaultignore{ }
+ $primary{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ filesystem{ ext2 }
+ mountpoint{ /boot } .
+
+500 10000 -1 $default_filesystem
+ $lvmok{ }
+ $primary{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ / } .
+
+96 512 300% linux-swap
+ $lvmok{ }
+ method{ swap }
+ format{ } .
diff -Nru partman-auto-118/recipes-ppc64el/home partman-auto-118/recipes-ppc64el/home
--- partman-auto-118/recipes-ppc64el/home 1970-01-01 00:00:00.000000000 +0000
+++ partman-auto-118/recipes-ppc64el/home 2014-01-15 00:28:39.000000000 +0000
@@ -0,0 +1,38 @@
+partman-auto/text/home_scheme ::
+
+8 1 1 prep
+ $primary{ }
+ $bootable{ }
+ method{ prep } .
+
+128 512 256 ext2
+ $defaultignore{ }
+ $primary{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ filesystem{ ext2 }
+ mountpoint{ /boot } .
+
+500 4000 7000 $default_filesystem
+ $lvmok{ }
+ $primary{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ / } .
+
+96 512 300% linux-swap
+ $lvmok{ }
+ method{ swap }
+ format{ } .
+
+100 10000 -1 $default_filesystem
+ $lvmok{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ /home } .
+
diff -Nru partman-auto-118/recipes-ppc64el/multi partman-auto-118/recipes-ppc64el/multi
--- partman-auto-118/recipes-ppc64el/multi 1970-01-01 00:00:00.000000000 +0000
+++ partman-auto-118/recipes-ppc64el/multi 2014-01-15 00:28:39.000000000 +0000
@@ -0,0 +1,62 @@
+partman-auto/text/multi_scheme ::
+
+8 1 1 prep
+ $primary{ }
+ $bootable{ }
+ method{ prep } .
+
+128 512 256 ext2
+ $defaultignore{ }
+ $primary{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ filesystem{ ext2 }
+ mountpoint{ /boot } .
+
+70 800 280 $default_filesystem
+ $lvmok{ }
+ $primary{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ / } .
+
+500 3000 5000 $default_filesystem
+ $lvmok{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ /usr } .
+
+70 1500 3000 $default_filesystem
+ $lvmok{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ /var } .
+
+96 512 300% linux-swap
+ $lvmok{ }
+ method{ swap }
+ format{ } .
+
+20 300 400 $default_filesystem
+ $lvmok{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ /tmp } .
+
+300 3000 -1 $default_filesystem
+ $lvmok{ }
+ method{ format }
+ format{ }
+ use_filesystem{ }
+ $default_filesystem{ }
+ mountpoint{ /home } .
+
diff -Nru partman-auto-118/recipes-ppc64el/_numbers partman-auto-118/recipes-ppc64el/_numbers
--- partman-auto-118/recipes-ppc64el/_numbers 1970-01-01 00:00:00.000000000 +0000
+++ partman-auto-118/recipes-ppc64el/_numbers 2014-01-15 00:28:39.000000000 +0000
@@ -0,0 +1,3 @@
+30 atomic
+50 home
+80 multi
Reply to: