Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:A
kiwi-instsource-plugins-openSUSE-13-2
0001-mini-iso-Pass-kexec-1-to-linuxrc-boo-99037...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-mini-iso-Pass-kexec-1-to-linuxrc-boo-990374.patch of Package kiwi-instsource-plugins-openSUSE-13-2
From d52ba98d384650e9325ce5aeb6569f3ecd3de9cc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger <dimstar@opensuse.org> Date: Wed, 27 Jul 2016 12:43:49 +0200 Subject: [PATCH] mini iso: Pass kexec=1 to linuxrc (boo#990374) --- .../KIWIMiniIsoPlugin.pm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/distribution/kiwi-instsource-plugins-openSUSE-Tumbleweed/KIWIMiniIsoPlugin.pm b/distribution/kiwi-instsource-plugins-openSUSE-Tumbleweed/KIWIMiniIsoPlugin.pm index 99bd0b71b..2a0d4ebfa 100644 --- a/KIWIMiniIsoPlugin.pm +++ b/KIWIMiniIsoPlugin.pm @@ -142,7 +142,8 @@ sub execute { $this->removeMediaCheck($isolxfiles[0]); } - $this -> updateInitRDNET($repoloc); + $this -> updateInitRDNET("./etc/linuxrc.d/10_repo", "defaultrepo=$repoloc\n"); + $this -> updateInitRDNET("./etc/linuxrc.d/15_kexec", "kexec=1\n"); my @gfxbootfiles; find( @@ -320,7 +321,7 @@ sub _makecpiohead { # download.opensuse.org # https://bugzilla.opensuse.org/show_bug.cgi?id=916175 sub updateInitRDNET { - my ($this, $repoloc) = @_; + my ($this, $file, $content) = @_; $this -> logMsg("I", "prepare initrd for NET iso"); @@ -331,10 +332,8 @@ sub updateInitRDNET { # hardcode for now $zipper = "xz --check=crc32"; - my $linuxrc = "defaultrepo=$repoloc\n"; - - my ($cpio, $pad) = _makecpiohead('./etc/linuxrc.d/10_repo', [0, 0, oct(644), 1, 0, 0, 0, length($linuxrc), 0, 0, 0]); - $cpio .= $linuxrc; + my ($cpio, $pad) = _makecpiohead($file, [0, 0, oct(644), 1, 0, 0, 0, length($content), 0, 0, 0]); + $cpio .= $content; $cpio .= $pad if $pad; $cpio .= _makecpiohead(); -- 2.12.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor