From zeeshanak at gnome.org Tue Nov 4 17:21:31 2014 From: zeeshanak at gnome.org (Zeeshan Ali (Khattak)) Date: Tue, 4 Nov 2014 18:21:31 +0100 Subject: [Libosinfo] Script broken for Fedora net ISO Message-ID: Hi everyone, Vladimir Benes recently told me about the issue of express installation and net ISOs of Fedora in Boxes. There are two issues with this: 1. Internet is required w/o script communicating this requirement to App. 2. Some remote repositories need to be setup, otherwise installer waits for user to manually set them up. I thought of some solutions but none without any issues: 1. a. Add 'needs-internet' to media entries b. Pass media info to script generation functions. c. Modify fedora script to add required repos if 'needs-internet' This would be my first choice but how can we implement (b) w/o breaking API. 2. a. Add 'internet-available' param to InstallConfig b. Modify fedora script to add required repos if 'internet-available' This would add to the work of App as they'll have to check availability of internet and set this. FWIW this won't be an issue for Boxes at least as it already checks that to ensure scripts requiring internet have it available. Perhaps we can assume that for other apps too? 3. a. script templates specify variants supported b. Add variant info to net ISOs c. We add separate scripts for netiso variants The main/first issue with this would be the fact that volume IDs on ISOs are the same for both full and net installer ISOs. AFAIK this is true for all distros, not just Fedora. Better ideas welcome! -- Regards, Zeeshan Ali (Khattak) ________________________________________ Befriend GNOME: http://www.gnome.org/friends/ From zeeshanak at gnome.org Wed Nov 5 23:25:25 2014 From: zeeshanak at gnome.org (Zeeshan Ali (Khattak)) Date: Thu, 6 Nov 2014 00:25:25 +0100 Subject: [Libosinfo] Script broken for Fedora net ISO In-Reply-To: References: Message-ID: No one has a better idea? On Tue, Nov 4, 2014 at 6:21 PM, Zeeshan Ali (Khattak) wrote: > Hi everyone, > > Vladimir Benes recently told me about the issue of express > installation and net ISOs of Fedora in Boxes. There are two issues > with this: > > 1. Internet is required w/o script communicating this requirement to App. > 2. Some remote repositories need to be setup, otherwise installer > waits for user to manually set them up. > > I thought of some solutions but none without any issues: > > 1. a. Add 'needs-internet' to media entries > b. Pass media info to script generation functions. > c. Modify fedora script to add required repos if 'needs-internet' > > This would be my first choice but how can we implement (b) w/o breaking API. > > 2. a. Add 'internet-available' param to InstallConfig > b. Modify fedora script to add required repos if 'internet-available' > > This would add to the work of App as they'll have to check > availability of internet and set this. FWIW this won't be an issue for > Boxes at least as it already checks that to ensure scripts requiring > internet have it available. Perhaps we can assume that for other apps > too? > > 3. a. script templates specify variants supported > b. Add variant info to net ISOs > c. We add separate scripts for netiso variants > > The main/first issue with this would be the fact that volume IDs > on ISOs are the same for both full and net installer ISOs. AFAIK this > is true for all distros, not just Fedora. > > Better ideas welcome! > > -- > Regards, > > Zeeshan Ali (Khattak) > ________________________________________ > Befriend GNOME: http://www.gnome.org/friends/ -- Regards, Zeeshan Ali (Khattak) ________________________________________ Befriend GNOME: http://www.gnome.org/friends/ From cfergeau at redhat.com Thu Nov 6 10:24:25 2014 From: cfergeau at redhat.com (Christophe Fergeau) Date: Thu, 6 Nov 2014 11:24:25 +0100 Subject: [Libosinfo] Script broken for Fedora net ISO In-Reply-To: References: Message-ID: <20141106102425.GA16843@edamame.cdg.redhat.com> Hey, On Tue, Nov 04, 2014 at 06:21:31PM +0100, Zeeshan Ali (Khattak) wrote: > Hi everyone, > > Vladimir Benes recently told me about the issue of express > installation and net ISOs of Fedora in Boxes. There are two issues > with this: > > 1. Internet is required w/o script communicating this requirement to App. > 2. Some remote repositories need to be setup, otherwise installer > waits for user to manually set them up. > > I thought of some solutions but none without any issues: > > 1. a. Add 'needs-internet' to media entries > b. Pass media info to script generation functions. > c. Modify fedora script to add required repos if 'needs-internet' > > This would be my first choice but how can we implement (b) w/o breaking API. > > 2. a. Add 'internet-available' param to InstallConfig > b. Modify fedora script to add required repos if 'internet-available' > > This would add to the work of App as they'll have to check > availability of internet and set this. FWIW this won't be an issue for > Boxes at least as it already checks that to ensure scripts requiring > internet have it available. Perhaps we can assume that for other apps > too? > > 3. a. script templates specify variants supported > b. Add variant info to net ISOs > c. We add separate scripts for netiso variants > > The main/first issue with this would be the fact that volume IDs > on ISOs are the same for both full and net installer ISOs. AFAIK this > is true for all distros, not just Fedora. > > Better ideas welcome! 3. sounds much better than the other alternatives. One hackish way to detect net install images VS full images is that the former will usually be much smaller than full images (100MB VS 700MB). This must correspond to 'volume size' in isoinfo output. The Eltorito bootoff (boot offset?) is different too. The more specific we get though, the more likely it is we have to add additional osinfo entries for point releases (debian/ubuntu X.Y.z releases) Christophe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From zeeshanak at gnome.org Fri Nov 7 13:12:05 2014 From: zeeshanak at gnome.org (Zeeshan Ali (Khattak)) Date: Fri, 7 Nov 2014 13:12:05 +0000 Subject: [Libosinfo] Script broken for Fedora net ISO In-Reply-To: <20141106102425.GA16843@edamame.cdg.redhat.com> References: <20141106102425.GA16843@edamame.cdg.redhat.com> Message-ID: On Thu, Nov 6, 2014 at 10:24 AM, Christophe Fergeau wrote: > Hey, > > On Tue, Nov 04, 2014 at 06:21:31PM +0100, Zeeshan Ali (Khattak) wrote: >> Hi everyone, >> >> Vladimir Benes recently told me about the issue of express >> installation and net ISOs of Fedora in Boxes. There are two issues >> with this: >> >> 1. Internet is required w/o script communicating this requirement to App. >> 2. Some remote repositories need to be setup, otherwise installer >> waits for user to manually set them up. >> >> I thought of some solutions but none without any issues: >> >> 1. a. Add 'needs-internet' to media entries >> b. Pass media info to script generation functions. >> c. Modify fedora script to add required repos if 'needs-internet' >> >> This would be my first choice but how can we implement (b) w/o breaking API. >> >> 2. a. Add 'internet-available' param to InstallConfig >> b. Modify fedora script to add required repos if 'internet-available' >> >> This would add to the work of App as they'll have to check >> availability of internet and set this. FWIW this won't be an issue for >> Boxes at least as it already checks that to ensure scripts requiring >> internet have it available. Perhaps we can assume that for other apps >> too? >> >> 3. a. script templates specify variants supported >> b. Add variant info to net ISOs >> c. We add separate scripts for netiso variants >> >> The main/first issue with this would be the fact that volume IDs >> on ISOs are the same for both full and net installer ISOs. AFAIK this >> is true for all distros, not just Fedora. >> >> Better ideas welcome! > > 3. sounds much better than the other alternatives. One hackish way to > detect net install images VS full images is that the former will usually > be much smaller than full images (100MB VS 700MB). This must correspond > to 'volume size' in isoinfo output. The Eltorito bootoff (boot offset?) > is different too. > The more specific we get though, the more likely it is we have to add > additional osinfo entries for point releases (debian/ubuntu X.Y.z > releases) Hmm.. didn't think of this but as you said, not only it is very hackish but would also imply us having to add otherwise redundant entries. How about we go for #2? -- Regards, Zeeshan Ali (Khattak) ________________________________________ Befriend GNOME: http://www.gnome.org/friends/ From cfergeau at redhat.com Wed Nov 12 09:35:01 2014 From: cfergeau at redhat.com (Christophe Fergeau) Date: Wed, 12 Nov 2014 10:35:01 +0100 Subject: [Libosinfo] Script broken for Fedora net ISO In-Reply-To: References: <20141106102425.GA16843@edamame.cdg.redhat.com> Message-ID: <20141112093501.GG32202@edamame.cdg.redhat.com> On Fri, Nov 07, 2014 at 01:12:05PM +0000, Zeeshan Ali (Khattak) wrote: > Hmm.. didn't think of this but as you said, not only it is very > hackish but would also imply us having to add otherwise redundant > entries. How about we go for #2? Well, even with #2, it will be useful to be able to know before starting the installation whether internet is required for express install to work or not, ie you need to detect if an iso is a net install or not. As I understand #2, you suggest that applications make sure internet is available for fedora express installs and set the needed variable even in cases when it would not be needed. Christophe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From cfergeau at redhat.com Wed Nov 12 12:54:48 2014 From: cfergeau at redhat.com (Christophe Fergeau) Date: Wed, 12 Nov 2014 13:54:48 +0100 Subject: [Libosinfo] [PATCH 0/2] OpenBSD/RHEL updates Message-ID: <1415796890-21530-1-git-send-email-cfergeau@redhat.com> Hey, I've just reviewed and pushed these 2 patches from bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1157483 https://bugzilla.redhat.com/show_bug.cgi?id=1159024 Christophe From cfergeau at redhat.com Wed Nov 12 12:54:49 2014 From: cfergeau at redhat.com (Christophe Fergeau) Date: Wed, 12 Nov 2014 13:54:49 +0100 Subject: [Libosinfo] [PATCH 1/2] Add rhel-5.9..11 and rhel-6.6 info In-Reply-To: <1415796890-21530-1-git-send-email-cfergeau@redhat.com> References: <1415796890-21530-1-git-send-email-cfergeau@redhat.com> Message-ID: <1415796890-21530-2-git-send-email-cfergeau@redhat.com> From: Satoru Satoh --- data/oses/rhel.xml.in | 133 +++++++++++++++++++++ .../rhel5.10/rhel-server-5.10-i386-dvd.iso.txt | 29 +++++ .../rhel5.10/rhel-server-5.10-x86_64-dvd.iso.txt | 29 +++++ .../rhel5.11/rhel-server-5.11-x86_64-dvd.iso.txt | 29 +++++ .../rhel/rhel5.9/rhel-server-5.9-i386-dvd.iso.txt | 29 +++++ .../rhel5.9/rhel-server-5.9-x86_64-dvd.iso.txt | 29 +++++ .../rhel6.6/rhel-server-6.6-x86_64-dvd.iso.txt | 29 +++++ 7 files changed, 307 insertions(+) create mode 100644 test/isodata/rhel/rhel5.10/rhel-server-5.10-i386-dvd.iso.txt create mode 100644 test/isodata/rhel/rhel5.10/rhel-server-5.10-x86_64-dvd.iso.txt create mode 100644 test/isodata/rhel/rhel5.11/rhel-server-5.11-x86_64-dvd.iso.txt create mode 100644 test/isodata/rhel/rhel5.9/rhel-server-5.9-i386-dvd.iso.txt create mode 100644 test/isodata/rhel/rhel5.9/rhel-server-5.9-x86_64-dvd.iso.txt create mode 100644 test/isodata/rhel/rhel6.6/rhel-server-6.6-x86_64-dvd.iso.txt diff --git a/data/oses/rhel.xml.in b/data/oses/rhel.xml.in index 9b5f6bb..921396a 100644 --- a/data/oses/rhel.xml.in +++ b/data/oses/rhel.xml.in @@ -658,6 +658,89 @@ + + rhel5.9 + <_name>Red Hat Enterprise Linux 5.9 + 5.9 + <_vendor>Red Hat, Inc + linux + rhel + Tikanga + + + + 2013-01-07 + 2020-03-31 + + + + LINUX + .*RHEL/5.9 i386.* + + + + + LINUX + .*RHEL/5.9 x86_64.* + + + + + + rhel5.10 + <_name>Red Hat Enterprise Linux 5.10 + 5.10 + <_vendor>Red Hat, Inc + linux + rhel + Tikanga + + + + 2013-10-01 + 2020-03-31 + + + + LINUX + .*RHEL/5.10 i386.* + + + + + LINUX + .*RHEL/5.10 x86_64.* + + + + + + rhel5.11 + <_name>Red Hat Enterprise Linux 5.11 + 5.11 + <_vendor>Red Hat, Inc + linux + rhel + Tikanga + + + + 2014-09-16 + 2020-03-31 + + + + LINUX + .*RHEL/5.11 i386.* + + + + + LINUX + .*RHEL/5.11 x86_64.* + + + @@ -965,6 +1048,56 @@ + + rhel6.6 + <_name>Red Hat Enterprise Linux 6.6 + 6.6 + <_vendor>Red Hat, Inc + linux + rhel + Santiago + + + + 2014-10-14 + 2023-11-30 + + + + LINUX + RHEL-6.6 .*.i386.* + + isolinux/vmlinuz + isolinux/initrd.img + + + + LINUX + .*RHEL-6.6 .*.x86_64.* + + isolinux/vmlinuz + isolinux/initrd.img + + + + + 1 + 536870912 + + + + 400000000 + 1073741824 + 9663676416 + + + + +