summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-07 12:33:48 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-07 12:33:48 +0100
commitcac7e95c6ae1925d17c951f5ea5bdd39b92a9ae8 (patch)
treefa794e460b96bd02f79cd3ab83893ebd5307c841 /app-admin
parent7b20f63d58c85100bc6dd312be243007d722941e (diff)
patch calamares dracut module with kogaion specific call, hope this works
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/calamares/calamares-2.3-r3.ebuild (renamed from app-admin/calamares/calamares-2.3-r2.ebuild)1
-rw-r--r--app-admin/calamares/files/calamares-kogaion-dracut-call.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/calamares/calamares-2.3-r2.ebuild b/app-admin/calamares/calamares-2.3-r3.ebuild
index f776063a..3366b1c0 100644
--- a/app-admin/calamares/calamares-2.3-r2.ebuild
+++ b/app-admin/calamares/calamares-2.3-r3.ebuild
@@ -49,6 +49,7 @@ DEPEND="
RDEPEND=">=app-misc/calamares-runtime-3.1[branding]"
src_prepare() {
+ epatch ${FILESDIR}/${PN}-kogaion-dracut-call.patch
# replace calamares installer desktop icon
sed -i "s/Icon=calamares/Icon=start-here/g" "${S}/calamares.desktop"
# If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
diff --git a/app-admin/calamares/files/calamares-kogaion-dracut-call.patch b/app-admin/calamares/files/calamares-kogaion-dracut-call.patch
new file mode 100644
index 00000000..a607e23e
--- /dev/null
+++ b/app-admin/calamares/files/calamares-kogaion-dracut-call.patch
@@ -0,0 +1,12 @@
+diff -Nur a/src/modules/dracut/main.py b/src/modules/dracut/main.py
+--- a/src/modules/dracut/main.py 2016-04-12 10:23:47.000000000 +0100
++++ b/src/modules/dracut/main.py 2016-08-06 13:21:38.055554294 +0100
+@@ -28,7 +28,7 @@
+
+ :return:
+ """
+- return target_env_call(['dracut', '-f'])
++ return target_env_call(['dracut', '-N', '-f', '-o', 'systemd', '-o', 'systemd-initrd', '-o', 'systemd-networkd', '-o', 'dracut-systemd', '--no-hostonly-cmdline', '--kver', '4.4.4-kogaion', '/boot/initramfs-genkernel-x86_64-4.4.4-kogaion'])
+
+
+ def run():