diff options
-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.patch | 12 |
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(): |