[Libosinfo] [PATCH] fedora: Adjust initrd/kernel paths to real file

Lasse Schuirmann lasse.schuirmann at gmail.com
Thu May 29 15:44:07 UTC 2014


This makes archive handling a bit easier for people using libarchive
since they don't need to support hardlinks in archives which is
complicated. (E.g. gnomes file-roller and KDEs Ark do not support
hardlinks, there are probably more implementations that don't.)

(Note that the file bodies lie on different locations in the
32bit/64bit isos. I have checked both isos, this is intentionally.)

Greetings,

Lasse

>From 5d4d60aa9d1981ac9b1896228df7fe57cd54559f Mon Sep 17 00:00:00 2001
From: Lasse Schuirmann <lasse.schuirmann at gmail.com>
Date: Thu, 29 May 2014 17:31:48 +0200
Subject: [PATCH] fedora: Adjust initrd/kernel paths to real file

The new paths point to the archive entries containing also the body of
the file. The other entries are just hardlinks.
---
 data/oses/fedora.xml.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/oses/fedora.xml.in b/data/oses/fedora.xml.in
index 27cdd4a..f33fdb0 100644
--- a/data/oses/fedora.xml.in
+++ b/data/oses/fedora.xml.in
@@ -1469,8 +1469,8 @@
         <volume-id>Fedora 20.* i386</volume-id>
         <system-id>LINUX</system-id>
       </iso>
-      <kernel>isolinux/vmlinuz</kernel>
-      <initrd>isolinux/initrd.img</initrd>
+      <kernel>images/pxeboot/vmlinuz</kernel>
+      <initrd>images/pxeboot/initrd.img</initrd>
     </media>
     <media arch="x86_64">
       <url>http://download.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/x86_64/iso/Fedora-20-x86_64-DVD.iso</url>
@@ -1479,7 +1479,7 @@
         <system-id>LINUX</system-id>
       </iso>
       <kernel>isolinux/vmlinuz</kernel>
-      <initrd>isolinux/initrd.img</initrd>
+      <initrd>images/pxeboot/initrd.img</initrd>
     </media>

     <media arch="i686" live="true">
-- 
1.9.3




More information about the Libosinfo mailing list