[Libosinfo] [osinfo-db PATCH 27/29] ubuntu18.04: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. The reason why the "desktop" profile has also been moved under the "server" medias is because we can safely use the "desktop" script with the "server" medias and have the very same result as when using the "desktop" medias. Unfortunately, the opposite is not true (performing a "JeOS" installation in a "desktop" media and having the same result). Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index a39fe5f..b8b94ea 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -38,6 +38,10 @@ install/vmlinuz install/initrd.gz + + + + http://releases.ubuntu.com/releases/bionic/ubuntu-18.04.2-desktop-amd64.iso @@ -46,6 +50,9 @@ casper/vmlinuz casper/initrd.lz + + + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-arm64.iso @@ -82,10 +89,5 @@ current/images/netboot/ubuntu-installer/amd64/linux current/images/netboot/ubuntu-installer/amd64/initrd.gz - - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 24/29] ubuntu16.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.10.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in index 3c7606c..261065b 100644 --- a/data/os/ubuntu.com/ubuntu-16.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/yakkety/ubuntu-16.10-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/yakkety/ubuntu-16.10-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 28/29] ubuntu18.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. The reason why the "desktop" profile has also been moved under the "server" medias is because we can safely use the "desktop" script with the "server" medias and have the very same result as when using the "desktop" medias. Unfortunately, the opposite is not true (performing a "JeOS" installation in a "desktop" media and having the same result). Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 2d2aefa..dc57f0b 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -39,6 +39,10 @@ install/vmlinuz install/initrd.gz + + + + http://releases.ubuntu.com/18.10/ubuntu-18.10-live-server-amd64.iso @@ -56,6 +60,9 @@ casper/vmlinuz casper/initrd + + + http://cdimage.ubuntu.com/ubuntu/releases/18.10/release/ubuntu-18.10-server-arm64.iso @@ -92,10 +99,5 @@ current/images/netboot/ubuntu-installer/amd64/linux current/images/netboot/ubuntu-installer/amd64/initrd.gz - - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 28/29] ubuntu18.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 2d2aefa..e8d22c0 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -39,6 +39,10 @@ install/vmlinuz install/initrd.gz + + + + http://releases.ubuntu.com/18.10/ubuntu-18.10-live-server-amd64.iso @@ -56,6 +60,9 @@ casper/vmlinuz casper/initrd + + + http://cdimage.ubuntu.com/ubuntu/releases/18.10/release/ubuntu-18.10-server-arm64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 10/29] ubuntu, jeos: Fix command-line's template indentation
Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 4f4bc69..10e7c67 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -21,15 +21,15 @@ -file=/ - - locale= - - keyboard-configuration/layoutcode= - - hostname= - - priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto + file=/ + + locale= + + keyboard-configuration/layoutcode= + + hostname= + + priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 23/29] ubuntu16.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.04.xml.in | 14 ++ 1 file changed, 14 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in index 6da1d35..fbccc35 100644 --- a/data/os/ubuntu.com/ubuntu-16.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in @@ -37,6 +37,10 @@ install/vmlinuz install/initrd.gz + + + + http://releases.ubuntu.com/16.04/ubuntu-16.04.5-server-amd64.iso @@ -45,6 +49,10 @@ install/vmlinuz install/initrd.gz + + + + http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-i386.iso @@ -53,6 +61,9 @@ casper/vmlinuz casper/initrd + + + http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-amd64.iso @@ -61,6 +72,9 @@ casper/vmlinuz casper/initrd + + + http://cdimage.ubuntu.com/ubuntu/releases/16.04/release/ubuntu-16.04.5-server-powerpc.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 13/29] ubuntu, jeos: Force the system to boot without splash screen
Unfortunately, if we don't manually force the system to boot without splash screen, the splash will load and the user would have to manually switch to VT[0-6]. Signed-off-by: Fabiano Fidêncio --- data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 4 1 file changed, 4 insertions(+) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index ad15ad5..1e61754 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -95,6 +95,10 @@ ubiquity ubiquity/reboot boolean true d-i finish-install/reboot_in_progress note +d-i preseed/late_command string \ +in-target sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=\).*/\1\"\"/g' /etc/default/grub ; \ +in-target bash -c 'update-grub2' ; + ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/ [ "$prompt" ] || return 0/' /etc/init.d/casper -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 20/29] ubuntu14.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.10.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-14.10.xml.in b/data/os/ubuntu.com/ubuntu-14.10.xml.in index 98447c7..b64d9ec 100644 --- a/data/os/ubuntu.com/ubuntu-14.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/utopic/ubuntu-14.10-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/utopic/ubuntu-14.10-desktop-i386.iso @@ -62,9 +68,5 @@ casper/vmlinuz.efi casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 26/29] ubuntu17.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-17.10.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-17.10.xml.in b/data/os/ubuntu.com/ubuntu-17.10.xml.in index 7dee327..602a147 100644 --- a/data/os/ubuntu.com/ubuntu-17.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-17.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/artful/ubuntu-17.10.1-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/artful/ubuntu-17.10.1-desktop-amd64.iso @@ -78,9 +84,5 @@ boot/kernel.ubuntu boot/initrd.ubuntu - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 00/29] Improvements/Cleanups related to Ubuntu installer scripts
This patch series aim to have: - "desktop" installer scripts for the supported Ubuntu releases; - "jeos" installer scripts working for the currently releases it's supposed to work; The "desktop" script we're taking as basis was a collaboration of Jean-Baptiste Lallament (from Canonical) and is quite similar to what their use in their testing environment. The changes done in the "jeos" were based on a lot of back-and-forth testing, trying to figure out what exactly worked and we never ever had a consumer for those scripts via libosinfo. - Changes since v1: https://www.redhat.com/archives/libosinfo/2019-February/msg00107.html - Copy the scripts under the medias instead of moving them, as osinfo-install-script relies on having the scripts *per* *OS*. Fabiano Fidêncio (29): ubuntu,preseed: Add "desktop" install-script ubuntu14.04: Add "desktop" install-script ubuntu16.04: Add "desktop" install-script ubuntu18.04: Add "desktop" install-script ubuntu18.10: Add "desktop" install-script ubuntu18.10: Mark live-server medias as not script installable ubuntu19.04: Add "desktop" install-script ubuntu,jeos: Fix the command-line ubuntu,jeos: Fix hostname's template indentation ubuntu,jeos: Fix command-line's template indentation ubuntu,jeos: Fix install-script-config's template indentation ubuntu,jeos: Clean-up install-script ubuntu,jeos: Force the system to boot without splash screen ubuntu,jeos: Tune extra installed softwares ubuntu12.04: Copy installer under medias ubuntu12.10: Copy installer under medias ubuntu13.04: Remove installer ubuntu13.10: Copy installer under medias ubuntu14.04: Copy installer under medias ubuntu14.10: Copy installer under medias ubuntu15.04: Copy installer under medias ubuntu15.10: Copy installer under medias ubuntu16.04: Copy installer under medias ubuntu16.10: Copy installer under medias ubuntu17.04: Copy installer under medias ubuntu17.10: Copy installer under medias ubuntu18.04: Copy installer under medias ubuntu18.10: Copy installer under medias ubuntu19.04: Copy installer under medias .../ubuntu.com/ubuntu-preseed-desktop.xml.in | 98 .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 109 ++ data/os/ubuntu.com/ubuntu-12.04.xml.in| 6 + data/os/ubuntu.com/ubuntu-12.10.xml.in| 6 + data/os/ubuntu.com/ubuntu-13.04.xml.in| 4 - data/os/ubuntu.com/ubuntu-13.10.xml.in| 6 + data/os/ubuntu.com/ubuntu-14.04.xml.in| 7 ++ data/os/ubuntu.com/ubuntu-14.10.xml.in| 6 + data/os/ubuntu.com/ubuntu-15.04.xml.in| 6 + data/os/ubuntu.com/ubuntu-15.10.xml.in| 6 + data/os/ubuntu.com/ubuntu-16.04.xml.in| 15 +++ data/os/ubuntu.com/ubuntu-16.10.xml.in| 6 + data/os/ubuntu.com/ubuntu-17.04.xml.in| 6 + data/os/ubuntu.com/ubuntu-17.10.xml.in| 6 + data/os/ubuntu.com/ubuntu-18.04.xml.in| 8 ++ data/os/ubuntu.com/ubuntu-18.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-19.04.xml.in| 8 ++ 17 files changed, 234 insertions(+), 79 deletions(-) create mode 100644 data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 05/29] ubuntu18.10: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index fdde0a8..838d4b3 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -94,6 +94,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 06/29] ubuntu18.10: Mark live-server medias as not script installable
According to a conversation on #ubuntu-release live server medias are not script installable at all. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 838d4b3..2d2aefa 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -40,7 +40,7 @@ install/vmlinuz install/initrd.gz - + http://releases.ubuntu.com/18.10/ubuntu-18.10-live-server-amd64.iso Ubuntu-Server 18.10(.\d\+?)? amd64 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 15/29] ubuntu12.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-12.04.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-12.04.xml.in b/data/os/ubuntu.com/ubuntu-12.04.xml.in index c1609ae..533c093 100644 --- a/data/os/ubuntu.com/ubuntu-12.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-12.04.xml.in @@ -36,6 +36,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-server-amd64.iso @@ -44,6 +47,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 01/29] ubuntu, preseed: Add "desktop" install-script
Let's add ubuntu's preseed file for Desktop profile. The preseed file was contributed by Jean-Baptiste Lallement, from Canonical and is pretty much the same file their use on their testing environment (apart from a few tweaks done here and there to adpat it to our needs). Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-desktop.xml.in | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in new file mode 100644 index 000..06f68ff --- /dev/null +++ b/data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in @@ -0,0 +1,98 @@ + + + +desktop +preseed.cfg + + + http://x.org/x11-keyboard"/> + + + + + + + + + + + + +initrd +true + +http://www.w3.org/1999/XSL/Transform; version="1.0"> + + + + + file=/ + + locale= + + keyboard-configuration/layoutcode= + + hostname= + + priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto + noprompt boot=casper automatic-ubiquity + + + + + + + + + + /dev/hda + + + + + + + + + + + ubuntu + + + + + +d-i pkgsel/include string ubuntu-desktop +d-i debian-installer/locale string +d-i netcfg/get_hostname string + +d-i partman-auto/disk string +d-i partman-auto/init_automatically_partition select Use the largest continuous free space +d-i partman-auto/method string regular +d-i partman/choose_partition select Finish partitioning and write changes to disk +d-i partman/confirm boolean true + +d-i grub-installer/bootdev string +d-i partman/confirm_nooverwrite boolean true + +d-i clock-setup/ntp boolean true +d-i clock-setup/utc boolean true +d-i time/zone select + +d-i passwd/user-fullname string +d-i passwd/username string +d-i passwd/user-password password +d-i passwd/user-password-again password +d-i user-setup/allow-password-weak boolean true + +d-i finish-install/reboot_in_progress note +#Temporary workaround for LP:1258245 +d-i preseed/early_command string chmod 666 /dev/ttyS0 +ubiquity ubiquity/summary note +ubiquity ubiquity/reboot boolean true + + + + + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 17/29] ubuntu13.04: Remove installer
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected and that this is a distro that reached its EOF, let's just remove the installer as I didn't get to make it work. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-13.04.xml.in | 4 1 file changed, 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-13.04.xml.in b/data/os/ubuntu.com/ubuntu-13.04.xml.in index e5e7d71..70ca832 100644 --- a/data/os/ubuntu.com/ubuntu-13.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-13.04.xml.in @@ -61,9 +61,5 @@ casper/vmlinuz.efi casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 06/29] ubuntu18.10: Mark live-server medias as not script installable
According to a conversation on #ubuntu-release live server medias are not script installable at all. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 838d4b3..2d2aefa 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -40,7 +40,7 @@ install/vmlinuz install/initrd.gz - + http://releases.ubuntu.com/18.10/ubuntu-18.10-live-server-amd64.iso Ubuntu-Server 18.10(.\d\+?)? amd64 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db 0/4] Fix password requirements for a few installer scripts
Basically, "desktop" installations can be done passwordless for those distros while "jeos" installations do require a password. Fabiano Fidêncio (4): centos,kickstart: Fix password requirements fedora,kickstart: Fix password requirements silverblue,kickstart: Fix password requirements rhel,kickstart: Fix password requirements .../install-script/centos.org/centos-kickstart-desktop.xml.in | 4 ++-- data/install-script/centos.org/centos-kickstart-jeos.xml.in | 2 +- .../fedoraproject.org/fedora-kickstart-desktop.xml.in | 4 ++-- .../fedoraproject.org/fedora-kickstart-jeos.xml.in| 2 +- .../fedoraproject.org/silverblue-kickstart-desktop.xml.in | 2 +- data/install-script/redhat.com/rhel-kickstart-desktop.xml.in | 4 ++-- data/install-script/redhat.com/rhel-kickstart-jeos.xml.in | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db 2/4] fedora, kickstart: Fix password requirements
"desktop" installations can be done passwordless; "jeos" installations require a password to be set. Signed-off-by: Fabiano Fidêncio --- .../fedoraproject.org/fedora-kickstart-desktop.xml.in | 4 ++-- .../fedoraproject.org/fedora-kickstart-jeos.xml.in| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in index b16ec57..0b1d77a 100644 --- a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in +++ b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in @@ -10,8 +10,8 @@ - - + + diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in index 778295d..d172392 100644 --- a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in +++ b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in @@ -5,7 +5,7 @@ jeos fedora.ks - + http://x.org/x11-keyboard"/> -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db 4/4] rhel, kickstart: Fix password requirements
"desktop" installations can be done passwordless; "jeos" installations require a password to be set. Signed-off-by: Fabiano Fidêncio --- data/install-script/redhat.com/rhel-kickstart-desktop.xml.in | 4 ++-- data/install-script/redhat.com/rhel-kickstart-jeos.xml.in| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in index 388d6d7..dfed40d 100644 --- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in @@ -10,8 +10,8 @@ - - + + diff --git a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in index db7ec7f..006e362 100644 --- a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in @@ -5,7 +5,7 @@ jeos rhel.ks - + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 1/3] ubuntu18.04: Fix kernel/initrd path for amd64 server media
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index e1cd6b2..3db4a9d 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -36,8 +36,8 @@ Ubuntu-Server 18.04(.\d\+?)? LTS amd64 - install/vmlinuz - install/initrd.gz + casper/vmlinuz + casper/initrd http://releases.ubuntu.com/releases/bionic/ubuntu-18.04.2-desktop-amd64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 3/3] ubuntu18.04: Mark live-server medias as not script installable
According to a conversation on #ubuntu-release live server medias are not script installable at all. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index 257c0b0..0e2c428 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -31,7 +31,7 @@ - + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-amd64.iso Ubuntu-Server 18.04(.\d\+?)? LTS amd64 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 22/29] ubuntu15.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-15.10.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-15.10.xml.in b/data/os/ubuntu.com/ubuntu-15.10.xml.in index 0ced8ba..83ac997 100644 --- a/data/os/ubuntu.com/ubuntu-15.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-15.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/wily/ubuntu-15.10-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/wily/ubuntu-15.10-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 27/29] ubuntu18.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index 296fd7a..e5833a6 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -38,6 +38,10 @@ install/vmlinuz install/initrd.gz + + + + http://releases.ubuntu.com/releases/bionic/ubuntu-18.04.2-desktop-amd64.iso @@ -46,6 +50,9 @@ casper/vmlinuz casper/initrd.lz + + + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-arm64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 29/29] ubuntu19.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-19.04.xml.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os/ubuntu.com/ubuntu-19.04.xml.in index 09012a6..71efc17 100644 --- a/data/os/ubuntu.com/ubuntu-19.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in @@ -39,6 +39,10 @@ install/vmlinuz install/initrd.gz + + + + http://cdimage.ubuntu.com/daily-live/current/disco-desktop-amd64.iso @@ -47,6 +51,9 @@ casper/vmlinuz casper/initrd + + + http://cdimage.ubuntu.com/ubuntu-server/daily/current/disco-server-arm64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 21/29] ubuntu15.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-15.04.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-15.04.xml.in b/data/os/ubuntu.com/ubuntu-15.04.xml.in index cd95988..91ad4c4 100644 --- a/data/os/ubuntu.com/ubuntu-15.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-15.04.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/vivid/ubuntu-15.04-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/vivid/ubuntu-15.04-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 26/29] ubuntu17.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-17.10.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-17.10.xml.in b/data/os/ubuntu.com/ubuntu-17.10.xml.in index 7dee327..d09adf0 100644 --- a/data/os/ubuntu.com/ubuntu-17.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-17.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/artful/ubuntu-17.10.1-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/artful/ubuntu-17.10.1-desktop-amd64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 25/29] ubuntu17.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-17.04.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-17.04.xml.in b/data/os/ubuntu.com/ubuntu-17.04.xml.in index 907960f..938594c 100644 --- a/data/os/ubuntu.com/ubuntu-17.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-17.04.xml.in @@ -51,6 +51,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/zesty/ubuntu-17.04-server-amd64.iso @@ -59,6 +62,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/zesty/ubuntu-17.04-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 11/29] ubuntu, jeos: Fix install-script-config's template indentation
Signed-off-by: Fabiano Fidêncio --- data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 10e7c67..b2aa564 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -55,7 +55,8 @@ -d-i debian-installer/locale string + +d-i debian-installer/locale string d-i console-setup/ask_detect boolean false d-i console-setup/layoutcode string @@ -151,7 +152,7 @@ d-i prebaseconfig/reboot_in_progress note ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/ [ "$prompt" ] || return 0/' /etc/init.d/casper - + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 17/29] ubuntu13.04: Remove installer
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected and that this is a distro that reached its EOF, let's just remove the installer as I didn't get to make it work. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-13.04.xml.in | 4 1 file changed, 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-13.04.xml.in b/data/os/ubuntu.com/ubuntu-13.04.xml.in index e5e7d71..70ca832 100644 --- a/data/os/ubuntu.com/ubuntu-13.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-13.04.xml.in @@ -61,9 +61,5 @@ casper/vmlinuz.efi casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 13/29] ubuntu, jeos: Force the system to boot without splash screen
Unfortunately, if we don't manually force the system to boot without splash screen, the splash will load and the user would have to manually switch to VT[0-6]. Signed-off-by: Fabiano Fidêncio --- data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 4 1 file changed, 4 insertions(+) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index ad15ad5..1e61754 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -95,6 +95,10 @@ ubiquity ubiquity/reboot boolean true d-i finish-install/reboot_in_progress note +d-i preseed/late_command string \ +in-target sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=\).*/\1\"\"/g' /etc/default/grub ; \ +in-target bash -c 'update-grub2' ; + ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/ [ "$prompt" ] || return 0/' /etc/init.d/casper -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 07/29] ubuntu19.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-19.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os/ubuntu.com/ubuntu-19.04.xml.in index 299ec56..09012a6 100644 --- a/data/os/ubuntu.com/ubuntu-19.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in @@ -85,6 +85,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 20/29] ubuntu14.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.10.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-14.10.xml.in b/data/os/ubuntu.com/ubuntu-14.10.xml.in index 98447c7..6557417 100644 --- a/data/os/ubuntu.com/ubuntu-14.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/utopic/ubuntu-14.10-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/utopic/ubuntu-14.10-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 01/29] ubuntu, preseed: Add "desktop" install-script
Let's add ubuntu's preseed file for Desktop profile. The preseed file was contributed by Jean-Baptiste Lallement, from Canonical and is pretty much the same file their use on their testing environment (apart from a few tweaks done here and there to adpat it to our needs). Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-desktop.xml.in | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in new file mode 100644 index 000..06f68ff --- /dev/null +++ b/data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in @@ -0,0 +1,98 @@ + + + +desktop +preseed.cfg + + + http://x.org/x11-keyboard"/> + + + + + + + + + + + + +initrd +true + +http://www.w3.org/1999/XSL/Transform; version="1.0"> + + + + + file=/ + + locale= + + keyboard-configuration/layoutcode= + + hostname= + + priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto + noprompt boot=casper automatic-ubiquity + + + + + + + + + + /dev/hda + + + + + + + + + + + ubuntu + + + + + +d-i pkgsel/include string ubuntu-desktop +d-i debian-installer/locale string +d-i netcfg/get_hostname string + +d-i partman-auto/disk string +d-i partman-auto/init_automatically_partition select Use the largest continuous free space +d-i partman-auto/method string regular +d-i partman/choose_partition select Finish partitioning and write changes to disk +d-i partman/confirm boolean true + +d-i grub-installer/bootdev string +d-i partman/confirm_nooverwrite boolean true + +d-i clock-setup/ntp boolean true +d-i clock-setup/utc boolean true +d-i time/zone select + +d-i passwd/user-fullname string +d-i passwd/username string +d-i passwd/user-password password +d-i passwd/user-password-again password +d-i user-setup/allow-password-weak boolean true + +d-i finish-install/reboot_in_progress note +#Temporary workaround for LP:1258245 +d-i preseed/early_command string chmod 666 /dev/ttyS0 +ubiquity ubiquity/summary note +ubiquity ubiquity/reboot boolean true + + + + + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 10/29] ubuntu, jeos: Fix command-line's template indentation
Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 4f4bc69..10e7c67 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -21,15 +21,15 @@ -file=/ - - locale= - - keyboard-configuration/layoutcode= - - hostname= - - priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto + file=/ + + locale= + + keyboard-configuration/layoutcode= + + hostname= + + priority=critical console-setup/ask_detect=false domain=unassigned-domain interface=auto -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 09/29] ubuntu, jeos: Fix hostname's template indentation
Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 37f9d7f..4f4bc69 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -44,16 +44,16 @@ - - - + + + - - - ubuntu - - - + + + ubuntu + + + d-i debian-installer/locale string d-i console-setup/ask_detect boolean false -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 03/29] ubuntu16.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in index 867b5ae..6da1d35 100644 --- a/data/os/ubuntu.com/ubuntu-16.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in @@ -86,6 +86,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 19/29] ubuntu14.04: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. The reason why the "desktop" profile has been left only in the OS is because we can safely use the "desktop" script with the "server" medias and have the very same result as when using the "desktop" medias. Unfortunately, the opposite is not true (performing a "JeOS" installation in a "desktop" media and having the same result). Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index 5e095b6..b7500cd 100644 --- a/data/os/ubuntu.com/ubuntu-14.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.04.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 18/29] ubuntu13.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-13.10.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-13.10.xml.in b/data/os/ubuntu.com/ubuntu-13.10.xml.in index c5ec9b7..b994185 100644 --- a/data/os/ubuntu.com/ubuntu-13.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-13.10.xml.in @@ -36,6 +36,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/saucy/ubuntu-13.10-server-amd64.iso @@ -44,6 +47,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/saucy/ubuntu-13.10-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 14/29] ubuntu, jeos: Tune extra installed softwares
Seems that although openssh-server is present in all ubuntu servers, python-software-properties is not. For newer versions of ubuntu, let's just install python3-software-properties. For 12.04, let's install python-software-properties. For 12.10, let's avoid installing as it'd raise an error during installation. Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in| 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 1e61754..79cdb8d 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -82,7 +82,17 @@ d-i passwd/root-password-again password + +d-i pkgsel/include string python-software-properties + + + +d-i pkgsel/include string python3-software-properties + + d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 16/29] ubuntu12.10: Copy installer under medias
Let's copy the installer under the medias as we've provided new APIs on libosinfo for relying on the media content instead of relying on the OS. The reasoning behind of that is because not all medias support installers for both profiles. Let's also leave the installer-script under the OSes as osinfo-install-script relies on that. Last but not least, we're just copying the installer under the medias which the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-12.10.xml.in | 6 ++ 1 file changed, 6 insertions(+) diff --git a/data/os/ubuntu.com/ubuntu-12.10.xml.in b/data/os/ubuntu.com/ubuntu-12.10.xml.in index 6dd97e5..49ac61e 100644 --- a/data/os/ubuntu.com/ubuntu-12.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-12.10.xml.in @@ -36,6 +36,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/quantal/ubuntu-12.10-server-amd64.iso @@ -44,6 +47,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/quantal/ubuntu-12.10-desktop-i386.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 02/29] ubuntu14.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index 3cf9841..5e095b6 100644 --- a/data/os/ubuntu.com/ubuntu-14.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.04.xml.in @@ -64,6 +64,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 08/29] ubuntu, jeos: Fix the command-line
The currently command line has never worked as preseed files should be passed to the kernel as file=/path/to/file instead of file=file:/path/to/file. Signed-off-by: Fabiano Fidêncio --- data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index c56f859..37f9d7f 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -21,7 +21,7 @@ -file=file:/ +file=/ locale= -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 04/29] ubuntu18.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index 0fa2e29..296fd7a 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -84,6 +84,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [osinfo-db PATCH 00/29] Improvements/Cleanups on Ubuntu installer scripts
On Tue, Feb 19, 2019 at 4:30 PM Fabiano Fidêncio wrote: > This patch series aim to have: > - "desktop" installer scripts for the supported Ubuntu releases; > - "jeos" installer scripts working for the currently releases it's > supposed to work; > > The "desktop" script we're taking as basis was a collaboration of > Jean-Baptiste Lallament (from Canonical) and is quite similar to what > their use in their testing environment. > > The changes done in the "jeos" were based on a lot of back-and-forth > testing, trying to figure out what exactly worked and we never ever had > a consumer for those scripts via libosinfo. > > Fabiano Fidêncio (29): > ubuntu,preseed: Add "desktop" install-script > ubuntu14.04: Add "desktop" install-script > ubuntu16.04: Add "desktop" install-script > ubuntu18.04: Add "desktop" install-script > ubuntu18.10: Add "desktop" install-script > ubuntu18.10: Mark live-server medias as not script installable > ubuntu19.04: Add "desktop" install-script > ubuntu,jeos: Fix the command-line > ubuntu,jeos: Fix hostname's template indentation > ubuntu,jeos: Fix command-line's template indentation > ubuntu,jeos: Fix install-script-config's template indentation > ubuntu,jeos: Clean-up install-script > ubuntu,jeos: Force the system to boot without splash screen > ubuntu,jeos: Tune extra installed softwares > I've just realised that for all the patches below we can't actually move the installer from the os to the medias as osinfo-install-script relies on the scripts being under the os. That's fine, that's fine ... the main difference is whatever was moved under the medias would be just copied. I'll submit a v2 soon. > ubuntu12.04: Move installer under medias > ubuntu12.10: Move installer under medias > ubuntu13.04: Remove installer > ubuntu13.10: Move installer under medias > ubuntu14.04: Move installer under medias > ubuntu14.10: Move installer under medias > ubuntu15.04: Move installer under medias > ubuntu15.10: Move installer under medias > ubuntu16.04: Move installer under medias > ubuntu16.10: Move installer under medias > ubuntu17.04: Move installer under medias > ubuntu17.10: Move installer under medias > ubuntu18.04: Move installer under medias > ubuntu18.10: Move installer under medias > ubuntu19.04: Move installer under medias > > .../ubuntu.com/ubuntu-preseed-desktop.xml.in | 98 > .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 109 ++ > data/os/ubuntu.com/ubuntu-12.04.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-12.10.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-13.04.xml.in| 4 - > data/os/ubuntu.com/ubuntu-13.10.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-14.04.xml.in| 8 +- > data/os/ubuntu.com/ubuntu-14.10.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-15.04.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-15.10.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-16.04.xml.in| 18 ++- > data/os/ubuntu.com/ubuntu-16.10.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-17.04.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-17.10.xml.in| 10 +- > data/os/ubuntu.com/ubuntu-18.04.xml.in| 11 +- > data/os/ubuntu.com/ubuntu-18.10.xml.in| 13 ++- > data/os/ubuntu.com/ubuntu-19.04.xml.in| 11 +- > 17 files changed, 230 insertions(+), 132 deletions(-) > create mode 100644 data/install-script/ > ubuntu.com/ubuntu-preseed-desktop.xml.in > > -- > 2.20.1 > > Best Regards, -- Fabiano Fidêncio ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 09/29] ubuntu, jeos: Fix hostname's template indentation
Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 37f9d7f..4f4bc69 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -44,16 +44,16 @@ - - - + + + - - - ubuntu - - - + + + ubuntu + + + d-i debian-installer/locale string d-i console-setup/ask_detect boolean false -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 21/29] ubuntu15.04: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-15.04.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-15.04.xml.in b/data/os/ubuntu.com/ubuntu-15.04.xml.in index cd95988..a795ba2 100644 --- a/data/os/ubuntu.com/ubuntu-15.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-15.04.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/vivid/ubuntu-15.04-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/vivid/ubuntu-15.04-desktop-i386.iso @@ -62,9 +68,5 @@ casper/vmlinuz.efi casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 12/29] ubuntu, jeos: Clean-up install-script
Unattended installation is only targetting ubuntu 12.04+. Knowing that, doesn't make sense to keep the whole lot of conditions in the installer-script code. Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 54 --- 1 file changed, 54 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index b2aa564..ad15ad5 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -68,70 +68,21 @@ d-i netcfg/wireless_wep string d-i clock-setup/utc boolean true d-i time/zone string - -d-i partman-auto/disk string - - -d-i partman-auto/init_automatically_partition select Use the largest continuous free space - d-i partman-auto/method string regular - - -d-i partman-auto/choose_recipe select Separate /home partition - - d-i partman-auto/choose_recipe select home - - d-i partman/confirm_write_new_label boolean true - - -d-i partman/choose_partition select Finish partitioning and write changes to disk - - d-i partman/choose_partition select finish - - d-i partman/confirm boolean true - d-i partman/confirm_nooverwrite boolean true - d-i passwd/root-login boolean true d-i passwd/make-user boolean false d-i passwd/root-password password d-i passwd/root-password-again password - -d-i pkgsel/install-language-support boolean false - - - - -tasksel tasksel/first multiselect ubuntu-standard, ubuntu-desktop - - tasksel tasksel/first multiselect standard - - - - -d-i mirror/http/proxy string - - -d-i pkgsel/include/install-recommends boolean true -d-i pkgsel/include string ltsp-server-standalone openssh-server python-software-properties -d-i preseed/late_command string chroot /target /usr/sbin/ltsp-update-sshkeys - - -d-i pkgsel/include/install-recommends boolean true -d-i pkgsel/include string openssh-server - - d-i pkgsel/include/install-recommends boolean true d-i pkgsel/include string openssh-server python-software-properties - - d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true @@ -139,15 +90,10 @@ d-i grub-installer/with_other_os boolean true d-i apt-setup/security_host string base-config apt-setup/security-updates boolean false - ubiquity ubiquity/summary note ubiquity ubiquity/reboot boolean true - d-i finish-install/reboot_in_progress note - -d-i prebaseconfig/reboot_in_progress note - ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/ [ "$prompt" ] || return 0/' /etc/init.d/casper -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 14/29] ubuntu, jeos: Tune extra installed softwares
Seems that although openssh-server is present in all ubuntu servers, python-software-properties is not. For newer versions of ubuntu, let's just install python3-software-properties. For 12.04, let's install python-software-properties. For 12.10, let's avoid installing as it'd raise an error during installation. Signed-off-by: Fabiano Fidêncio --- .../ubuntu.com/ubuntu-preseed-jeos.xml.in| 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 1e61754..79cdb8d 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -82,7 +82,17 @@ d-i passwd/root-password-again password + +d-i pkgsel/include string python-software-properties + + + +d-i pkgsel/include string python3-software-properties + + d-i grub-installer/only_debian boolean true d-i grub-installer/with_other_os boolean true -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 05/29] ubuntu18.10: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index fdde0a8..838d4b3 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -94,6 +94,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 16/29] ubuntu12.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-12.10.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-12.10.xml.in b/data/os/ubuntu.com/ubuntu-12.10.xml.in index 6dd97e5..46ebffb 100644 --- a/data/os/ubuntu.com/ubuntu-12.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-12.10.xml.in @@ -36,6 +36,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/quantal/ubuntu-12.10-server-amd64.iso @@ -44,6 +47,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/quantal/ubuntu-12.10-desktop-i386.iso @@ -61,9 +67,5 @@ casper/vmlinuz casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 07/29] ubuntu19.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-19.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os/ubuntu.com/ubuntu-19.04.xml.in index 299ec56..09012a6 100644 --- a/data/os/ubuntu.com/ubuntu-19.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in @@ -85,6 +85,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 04/29] ubuntu18.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index 0fa2e29..a39fe5f 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -85,6 +85,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 22/29] ubuntu15.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-15.10.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-15.10.xml.in b/data/os/ubuntu.com/ubuntu-15.10.xml.in index 0ced8ba..cca8e79 100644 --- a/data/os/ubuntu.com/ubuntu-15.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-15.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/wily/ubuntu-15.10-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/wily/ubuntu-15.10-desktop-i386.iso @@ -62,9 +68,5 @@ casper/vmlinuz.efi casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 24/29] ubuntu16.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.10.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in index 3c7606c..8373f65 100644 --- a/data/os/ubuntu.com/ubuntu-16.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.10.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/yakkety/ubuntu-16.10-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/yakkety/ubuntu-16.10-desktop-i386.iso @@ -92,9 +98,5 @@ boot/kernel.ubuntu boot/initrd.ubuntu - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 25/29] ubuntu17.04: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-17.04.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-17.04.xml.in b/data/os/ubuntu.com/ubuntu-17.04.xml.in index 907960f..45a2436 100644 --- a/data/os/ubuntu.com/ubuntu-17.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-17.04.xml.in @@ -51,6 +51,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/zesty/ubuntu-17.04-server-amd64.iso @@ -59,6 +62,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/zesty/ubuntu-17.04-desktop-i386.iso @@ -100,9 +106,5 @@ boot/kernel.ubuntu boot/initrd.ubuntu - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 19/29] ubuntu14.04: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. The reason why the "desktop" profile has been left for the OS is because we can safely use the "desktop" script with the "server" medias and have the very same result as when using the "desktop" medias. Unfortunately, the opposite is not true (performing a "JeOS" installation in a "desktop" media and having the same result). Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index 5e095b6..ad8625e 100644 --- a/data/os/ubuntu.com/ubuntu-14.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.04.xml.in @@ -37,6 +37,9 @@ install/vmlinuz install/initrd.gz + + + http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-amd64.iso @@ -45,6 +48,9 @@ install/vmlinuz install/initrd.gz + + + http://releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-i386.iso @@ -65,7 +71,6 @@ - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 29/29] ubuntu19.04: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. The reason why the "desktop" profile has also been moved under the "server" medias is because we can safely use the "desktop" script with the "server" medias and have the very same result as when using the "desktop" medias. Unfortunately, the opposite is not true (performing a "JeOS" installation in a "desktop" media and having the same result). Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-19.04.xml.in | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os/ubuntu.com/ubuntu-19.04.xml.in index 09012a6..767a213 100644 --- a/data/os/ubuntu.com/ubuntu-19.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in @@ -39,6 +39,10 @@ install/vmlinuz install/initrd.gz + + + + http://cdimage.ubuntu.com/daily-live/current/disco-desktop-amd64.iso @@ -47,6 +51,9 @@ casper/vmlinuz casper/initrd + + + http://cdimage.ubuntu.com/ubuntu-server/daily/current/disco-server-arm64.iso @@ -83,10 +90,5 @@ current/images/netboot/ubuntu-installer/amd64/linux current/images/netboot/ubuntu-installer/amd64/initrd.gz - - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 15/29] ubuntu12.04: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-12.04.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-12.04.xml.in b/data/os/ubuntu.com/ubuntu-12.04.xml.in index c1609ae..2bb0b29 100644 --- a/data/os/ubuntu.com/ubuntu-12.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-12.04.xml.in @@ -36,6 +36,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-server-amd64.iso @@ -44,6 +47,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-desktop-i386.iso @@ -61,9 +67,5 @@ casper/vmlinuz casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 18/29] ubuntu13.10: Move installer under medias
JeOS installations have never been tested as libosinfo never had an app consuming those scripts. Knowing that there's no consumers affected, let's move the installers under the specific medias the installer has been tested against. Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-13.10.xml.in | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-13.10.xml.in b/data/os/ubuntu.com/ubuntu-13.10.xml.in index c5ec9b7..1b29d29 100644 --- a/data/os/ubuntu.com/ubuntu-13.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-13.10.xml.in @@ -36,6 +36,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/saucy/ubuntu-13.10-server-amd64.iso @@ -44,6 +47,9 @@ install/vmlinuz install/initrd.gz + + + http://old-releases.ubuntu.com/releases/saucy/ubuntu-13.10-desktop-i386.iso @@ -61,9 +67,5 @@ casper/vmlinuz.efi casper/initrd.lz - - - - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 08/29] ubuntu, jeos: Fix the command-line
The currently command line has never worked as preseed files should be passed to the kernel as file=/path/to/file instead of file=file:/path/to/file. Signed-off-by: Fabiano Fidêncio --- data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index c56f859..37f9d7f 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -21,7 +21,7 @@ -file=file:/ +file=/ locale= -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 11/29] ubuntu, jeos: Fix install-script-config's template indentation
Signed-off-by: Fabiano Fidêncio --- data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in index 10e7c67..b2aa564 100644 --- a/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in +++ b/data/install-script/ubuntu.com/ubuntu-preseed-jeos.xml.in @@ -55,7 +55,8 @@ -d-i debian-installer/locale string + +d-i debian-installer/locale string d-i console-setup/ask_detect boolean false d-i console-setup/layoutcode string @@ -151,7 +152,7 @@ d-i prebaseconfig/reboot_in_progress note ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/ [ "$prompt" ] || return 0/' /etc/init.d/casper - + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 03/29] ubuntu16.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in index 867b5ae..6da1d35 100644 --- a/data/os/ubuntu.com/ubuntu-16.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in @@ -86,6 +86,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 00/29] Improvements/Cleanups on Ubuntu installer scripts
This patch series aim to have: - "desktop" installer scripts for the supported Ubuntu releases; - "jeos" installer scripts working for the currently releases it's supposed to work; The "desktop" script we're taking as basis was a collaboration of Jean-Baptiste Lallament (from Canonical) and is quite similar to what their use in their testing environment. The changes done in the "jeos" were based on a lot of back-and-forth testing, trying to figure out what exactly worked and we never ever had a consumer for those scripts via libosinfo. Fabiano Fidêncio (29): ubuntu,preseed: Add "desktop" install-script ubuntu14.04: Add "desktop" install-script ubuntu16.04: Add "desktop" install-script ubuntu18.04: Add "desktop" install-script ubuntu18.10: Add "desktop" install-script ubuntu18.10: Mark live-server medias as not script installable ubuntu19.04: Add "desktop" install-script ubuntu,jeos: Fix the command-line ubuntu,jeos: Fix hostname's template indentation ubuntu,jeos: Fix command-line's template indentation ubuntu,jeos: Fix install-script-config's template indentation ubuntu,jeos: Clean-up install-script ubuntu,jeos: Force the system to boot without splash screen ubuntu,jeos: Tune extra installed softwares ubuntu12.04: Move installer under medias ubuntu12.10: Move installer under medias ubuntu13.04: Remove installer ubuntu13.10: Move installer under medias ubuntu14.04: Move installer under medias ubuntu14.10: Move installer under medias ubuntu15.04: Move installer under medias ubuntu15.10: Move installer under medias ubuntu16.04: Move installer under medias ubuntu16.10: Move installer under medias ubuntu17.04: Move installer under medias ubuntu17.10: Move installer under medias ubuntu18.04: Move installer under medias ubuntu18.10: Move installer under medias ubuntu19.04: Move installer under medias .../ubuntu.com/ubuntu-preseed-desktop.xml.in | 98 .../ubuntu.com/ubuntu-preseed-jeos.xml.in | 109 ++ data/os/ubuntu.com/ubuntu-12.04.xml.in| 10 +- data/os/ubuntu.com/ubuntu-12.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-13.04.xml.in| 4 - data/os/ubuntu.com/ubuntu-13.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-14.04.xml.in| 8 +- data/os/ubuntu.com/ubuntu-14.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-15.04.xml.in| 10 +- data/os/ubuntu.com/ubuntu-15.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-16.04.xml.in| 18 ++- data/os/ubuntu.com/ubuntu-16.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-17.04.xml.in| 10 +- data/os/ubuntu.com/ubuntu-17.10.xml.in| 10 +- data/os/ubuntu.com/ubuntu-18.04.xml.in| 11 +- data/os/ubuntu.com/ubuntu-18.10.xml.in| 13 ++- data/os/ubuntu.com/ubuntu-19.04.xml.in| 11 +- 17 files changed, 230 insertions(+), 132 deletions(-) create mode 100644 data/install-script/ubuntu.com/ubuntu-preseed-desktop.xml.in -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 02/29] ubuntu14.04: Add "desktop" install-script
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index 3cf9841..5e095b6 100644 --- a/data/os/ubuntu.com/ubuntu-14.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.04.xml.in @@ -64,6 +64,7 @@ + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [osinfo-db PATCH 2/2] opensuse, autoyast: Fix typo in config's name
On Mon, Feb 18, 2019 at 9:20 PM Cole Robinson wrote: > On 2/18/19 4:40 AM, Fabiano Fidêncio wrote: > > We've been using "user-fullname" instead "user-realname" in different > > profiles for quite a long time. > > > > Signed-off-by: Fabiano Fidêncio > > --- > > .../opensuse.org/opensuse-autoyast-desktop.xml.in | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/data/install-script/ > opensuse.org/opensuse-autoyast-desktop.xml.in b/data/install-script/ > opensuse.org/opensuse-autoyast-desktop.xml.in > > index 00fc6af..a4e5b03 100644 > > --- a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in > > +++ b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in > > @@ -18,7 +18,7 @@ > > > > > > > > - > > + > > > > > > > > > > Isn't this missing an associated change later in the file? > Indeed, do you want a v2 or can I do the change before pushing? > > - Cole > ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [libosinfo PATCH] tests: Add test-uris-common.h to the SOURCES
Otherwise some breakage can be seen when building libosinfo's RPM test-uris-common.c:24:10: fatal error: test-uris-common.h: No such file or directory #include "test-uris-common.h" ^~~~ compilation terminated. make[2]: *** [Makefile:1296: test_mediauris-test-uris-common.o] Error 1 make[2]: *** Waiting for unfinished jobs CCLD test-entity test-mediauris.c:27:10: fatal error: test-uris-common.h: No such file or directory #include "test-uris-common.h" ^~~~ compilation terminated. make[2]: *** [Makefile:1282: test_mediauris-test-mediauris.o] Error 1 test-treeuris.c:27:10: fatal error: test-uris-common.h: No such file or directory #include "test-uris-common.h" ^~~~ compilation terminated. make[2]: *** [Makefile:1394: test_treeuris-test-treeuris.o] Error 1 test-uris-common.c:24:10: fatal error: test-uris-common.h: No such file or directory #include "test-uris-common.h" ^~~~ compilation terminated. make[2]: *** [Makefile:1408: test_treeuris-test-uris-common.o] Error 1 test-imageuris.c:27:10: fatal error: test-uris-common.h: No such file or directory #include "test-uris-common.h" ^~~~ compilation terminated. make[2]: *** [Makefile:1184: test_imageuris-test-imageuris.o] Error 1 test-uris-common.c:24:10: fatal error: test-uris-common.h: No such file or directory #include "test-uris-common.h" Signed-off-by: Fabiano Fidêncio --- Pushed under "build breakage" rule --- tests/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index f073b41..a822af2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -113,15 +113,15 @@ test_isodetect_SOURCES = test-isodetect.c if HAVE_CURL test_mediauris_LDADD = $(COMMON_LDADD) $(CURL_LIBS) test_mediauris_CFLAGS = $(COMMON_CFLAGS) $(CURL_CFLAGS) -test_mediauris_SOURCES = test-mediauris.c test-uris-common.c +test_mediauris_SOURCES = test-mediauris.c test-uris-common.c test-uris-common.h test_treeuris_LDADD = $(COMMON_LDADD) $(CURL_LIBS) test_treeuris_CFLAGS = $(COMMON_CFLAGS) $(CURL_CFLAGS) -test_treeuris_SOURCES = test-treeuris.c test-uris-common.c +test_treeuris_SOURCES = test-treeuris.c test-uris-common.c test-uris-common.h test_imageuris_LDADD = $(COMMON_LDADD) $(CURL_LIBS) test_imageuris_CFLAGS = $(COMMON_CFLAGS) $(CURL_CFLAGS) -test_imageuris_SOURCES = test-imageuris.c test-uris-common.c +test_imageuris_SOURCES = test-imageuris.c test-uris-common.c test-uris-common.h endif test_install_script_LDADD = $(COMMON_LDADD) -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [libosinfo PATCH] test-uris-common: remove empty line at EOF
The empty line caused: tests/test-uris-common.c maint.mk: empty line(s) or no newline at EOF make: *** [maint.mk:926: sc_prohibit_empty_lines_at_EOF] Error 1 Signed-off-by: Fabiano Fidêncio --- Pushed under "build brekage" rule --- tests/test-uris-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test-uris-common.c b/tests/test-uris-common.c index 0352ce1..8ebe4ea 100644 --- a/tests/test-uris-common.c +++ b/tests/test-uris-common.c @@ -107,4 +107,3 @@ void test_uris(OsinfoOsList *oslist, const gchar *prefix, TestURLFunc test_func) g_list_free(osel); } - -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [PATCH 0/8] Support rolling distributions
On Fri, 2019-02-15 at 12:48 +0100, Pino Toscano wrote: > This series adds a simple bit needed to properly track rolling > distributions: with a "rolling" release status, it is easier for > libosinfo users to handle this kind of distributions properly (e.g. > by > never considering them EOL). > > osinfo-db: > Pino Toscano (4): > schema: add 'rolling' as release status > archlinux: add Arch Linux data > gentoo: add Gentoo Linux data > voidlinux: add Void Linux data > > libosinfo: > Pino Toscano (4): > os: add OSINFO_RELEASE_STATUS_ROLLING > archlinux: add Arch Linux test data > gentoo: add Gentoo Linux test data > voidlinux: add Void Linux test data > Reviewed-by: Fabiano Fidêncio ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH] pureos: Mark PureOS 8 as pre-release
It's still in Beta. Signed-off-by: Fabiano Fidêncio --- data/os/pureos.net/pureos-8.xml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/os/pureos.net/pureos-8.xml.in b/data/os/pureos.net/pureos-8.xml.in index 13c5ba6..488b9c0 100644 --- a/data/os/pureos.net/pureos-8.xml.in +++ b/data/os/pureos.net/pureos-8.xml.in @@ -9,6 +9,8 @@ linux pureos +prerelease + 10 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 2/2] debian: Update URIs to 9.8.0 release
Signed-off-by: Fabiano Fidêncio --- Pushed under "test breakage" rule --- data/os/debian.org/debian-9.xml.in | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/os/debian.org/debian-9.xml.in b/data/os/debian.org/debian-9.xml.in index 2c02a69..f3a0d58 100644 --- a/data/os/debian.org/debian-9.xml.in +++ b/data/os/debian.org/debian-9.xml.in @@ -52,7 +52,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/i386/iso-cd/debian-9.7.0-i386-netinst.iso + http://cdimage.debian.org/cdimage/release/9.8.0/i386/iso-cd/debian-9.8.0-i386-netinst.iso Debian 9.(\d)+.(\d)+ i386 n @@ -61,7 +61,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/amd64/iso-cd/debian-9.7.0-amd64-netinst.iso + http://cdimage.debian.org/cdimage/release/9.8.0/amd64/iso-cd/debian-9.8.0-amd64-netinst.iso Debian 9.(\d)+.(\d)+ amd64 n @@ -70,7 +70,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/arm64/iso-cd/debian-9.7.0-arm64-netinst.iso + http://cdimage.debian.org/cdimage/release/9.8.0/arm64/iso-cd/debian-9.8.0-arm64-netinst.iso Debian 9.(\d)+.(\d)+ arm64 n @@ -79,7 +79,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/armhf/iso-cd/debian-9.7.0-armhf-netinst.iso + http://cdimage.debian.org/cdimage/release/9.8.0/armhf/iso-cd/debian-9.8.0-armhf-netinst.iso Debian 9.(\d)+.(\d)+ armhf n @@ -90,7 +90,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/i386/iso-dvd/debian-9.7.0-i386-DVD-1.iso + http://cdimage.debian.org/cdimage/release/9.8.0/i386/iso-dvd/debian-9.8.0-i386-DVD-1.iso Debian 9.(\d)+.(\d)+ i386 1 @@ -99,7 +99,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/amd64/iso-dvd/debian-9.7.0-amd64-DVD-1.iso + http://cdimage.debian.org/cdimage/release/9.8.0/amd64/iso-dvd/debian-9.8.0-amd64-DVD-1.iso Debian 9.(\d)+.(\d)+ amd64 1 @@ -108,7 +108,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/arm64/iso-dvd/debian-9.7.0-arm64-DVD-1.iso + http://cdimage.debian.org/cdimage/release/9.8.0/arm64/iso-dvd/debian-9.8.0-arm64-DVD-1.iso Debian 9.(\d)+.(\d)+ arm64 1 @@ -117,7 +117,7 @@ - http://cdimage.debian.org/cdimage/release/9.7.0/armhf/iso-dvd/debian-9.7.0-armhf-DVD-1.iso + http://cdimage.debian.org/cdimage/release/9.8.0/armhf/iso-dvd/debian-9.8.0-armhf-DVD-1.iso Debian 9.(\d)+.(\d)+ armhf 1 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 1/2] debian, preseed: Fix typo in config's name
We've been using "user-fullname" instead "user-realname" in different profiles for quite a long time. Signed-off-by: Fabiano Fidêncio --- .../install-script/debian.org/debian-preseed-desktop.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/install-script/debian.org/debian-preseed-desktop.xml.in b/data/install-script/debian.org/debian-preseed-desktop.xml.in index 42ed421..5e6f701 100644 --- a/data/install-script/debian.org/debian-preseed-desktop.xml.in +++ b/data/install-script/debian.org/debian-preseed-desktop.xml.in @@ -13,7 +13,7 @@ - + @@ -72,8 +72,8 @@ - - + + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 2/2] opensuse, autoyast: Fix typo in config's name
We've been using "user-fullname" instead "user-realname" in different profiles for quite a long time. Signed-off-by: Fabiano Fidêncio --- .../opensuse.org/opensuse-autoyast-desktop.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in index 00fc6af..a4e5b03 100644 --- a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in +++ b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in @@ -18,7 +18,7 @@ - + -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 1/2] ubuntu18.04: Update URIs to 18.04.2 release
Signed-off-by: Fabiano Fidêncio --- Pushed under "test breakage" rule --- data/os/ubuntu.com/ubuntu-18.04.xml.in | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in index e58e759..0fa2e29 100644 --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in @@ -32,7 +32,7 @@ - http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.1-server-amd64.iso + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-amd64.iso Ubuntu-Server 18.04(.\d\+?)? LTS amd64 @@ -40,7 +40,7 @@ install/initrd.gz - http://releases.ubuntu.com/releases/bionic/ubuntu-18.04.1-desktop-amd64.iso + http://releases.ubuntu.com/releases/bionic/ubuntu-18.04.2-desktop-amd64.iso Ubuntu 18.04(.\d\+?)? LTS amd64 @@ -48,7 +48,7 @@ casper/initrd.lz - http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.1-server-arm64.iso + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-arm64.iso Ubuntu-Server 18.04(.\d\+?)? LTS arm64 @@ -56,7 +56,7 @@ install/initrd.gz - http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.1-server-ppc64el.iso + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-ppc64el.iso Ubuntu-Server 18.04(.\d\+?)? LTS ppc64 @@ -64,7 +64,7 @@ install/initrd.gz - http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.1-server-s390x.iso + http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.2-server-s390x.iso Ubuntu-Server 18.04(.\d\+?)? LTS s390x -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [osinfo-db PATCH 9/9] centos7: Increase the recommended ram size
On Thu, Feb 14, 2019 at 6:30 PM Cole Robinson wrote: > On 12/21/18 9:09 AM, Fabiano Fidêncio wrote: > > When doing installation from "tree" we need at least 2GB of RAM in order > > to decompress the needed files, otherwise the kickstart installation > > will just fail. > > > > Signed-off-by: Fabiano Fidêncio > > --- > > data/os/centos.org/centos-7.0.xml.in | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > And also I'll drop this one. This one should be using "network-installer" resources added recently (and already released). When I wrote this down, we didn't the "network-installer" concept around. > > Reviewed-by: Cole Robinson > > - Cole > ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [osinfo-db PATCH 8/9] centos: Add "centos7" as short-id
On Thu, Feb 14, 2019 at 6:28 PM Cole Robinson wrote: > On 12/21/18 9:09 AM, Fabiano Fidêncio wrote: > > Signed-off-by: Fabiano Fidêncio > > --- > > data/os/centos.org/centos-7.0.xml.in | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/data/os/centos.org/centos-7.0.xml.in b/data/os/ > centos.org/centos-7.0.xml.in > > index 8b3531e..cc583b9 100644 > > --- a/data/os/centos.org/centos-7.0.xml.in > > +++ b/data/os/centos.org/centos-7.0.xml.in > > @@ -3,6 +3,7 @@ > > See http://www.gnu.org/licenses/ for a copy of the license text > --> > >http://centos.org/centos/7.0;> > > centos7.0 > > +centos7 > > <_name>CentOS 7.0 > > 7.0 > > <_vendor>CentOS > > > > Huh I didn't know we could do that, but I see we do the same for debian > distros, so it makes sense > > Cole, I will end up dropping this patch. While we can do that (as in our schema allows that), there's no code on libosinfo that would properly deal with a second short-id. So, for now, I'll not go for this patch. > Reviewed-by: Cole Robinson > > - Cole > ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH] haiku: Change the family name to "haiku"
After a discussion with one of the developers of the Haiku project, it's been pointed out that "haiku" should *not* used "beos" as family and, most likely, "haiku" would be a more appropriate family name. Signed-off-by: Fabiano Fidêncio --- data/os/haiku-os.org/haiku-nightly.xml.in| 2 +- data/os/haiku-os.org/haiku-r1alpha1.xml.in | 2 +- data/os/haiku-os.org/haiku-r1alpha2.xml.in | 2 +- data/os/haiku-os.org/haiku-r1alpha3.xml.in | 2 +- data/os/haiku-os.org/haiku-r1alpha4.1.xml.in | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/os/haiku-os.org/haiku-nightly.xml.in b/data/os/haiku-os.org/haiku-nightly.xml.in index 629bdce..4dfd660 100644 --- a/data/os/haiku-os.org/haiku-nightly.xml.in +++ b/data/os/haiku-os.org/haiku-nightly.xml.in @@ -4,7 +4,7 @@ <_name>Haiku Nightly nightly <_vendor>Haiku, Inc. -beos +haiku haiku http://haiku-os.org/haiku/r1alpha4.1"/> http://haiku-os.org/haiku/r1alpha4.1"/> diff --git a/data/os/haiku-os.org/haiku-r1alpha1.xml.in b/data/os/haiku-os.org/haiku-r1alpha1.xml.in index af9301f..70b02a2 100644 --- a/data/os/haiku-os.org/haiku-r1alpha1.xml.in +++ b/data/os/haiku-os.org/haiku-r1alpha1.xml.in @@ -4,7 +4,7 @@ <_name>Haiku R1/Alpha1 r1alpha1 <_vendor>Haiku, Inc. -beos +haiku haiku 2009-09-14 diff --git a/data/os/haiku-os.org/haiku-r1alpha2.xml.in b/data/os/haiku-os.org/haiku-r1alpha2.xml.in index 52d0ede..b2fdf23 100644 --- a/data/os/haiku-os.org/haiku-r1alpha2.xml.in +++ b/data/os/haiku-os.org/haiku-r1alpha2.xml.in @@ -4,7 +4,7 @@ <_name>Haiku R1/Alpha2 r1alpha2 <_vendor>Haiku, Inc. -beos +haiku haiku http://haiku-os.org/haiku/r1alpha1"/> http://haiku-os.org/haiku/r1alpha1"/> diff --git a/data/os/haiku-os.org/haiku-r1alpha3.xml.in b/data/os/haiku-os.org/haiku-r1alpha3.xml.in index 12bdd78..86f3614 100644 --- a/data/os/haiku-os.org/haiku-r1alpha3.xml.in +++ b/data/os/haiku-os.org/haiku-r1alpha3.xml.in @@ -4,7 +4,7 @@ <_name>Haiku R1/Alpha3 r1alpha3 <_vendor>Haiku, Inc. -beos +haiku haiku http://haiku-os.org/haiku/r1alpha2"/> http://haiku-os.org/haiku/r1alpha2"/> diff --git a/data/os/haiku-os.org/haiku-r1alpha4.1.xml.in b/data/os/haiku-os.org/haiku-r1alpha4.1.xml.in index 1fb3dba..db3b829 100644 --- a/data/os/haiku-os.org/haiku-r1alpha4.1.xml.in +++ b/data/os/haiku-os.org/haiku-r1alpha4.1.xml.in @@ -4,7 +4,7 @@ <_name>Haiku R1/Alpha4.1 r1alpha4.1 <_vendor>Haiku, Inc. -beos +haiku haiku http://haiku-os.org/haiku/r1alpha3"/> http://haiku-os.org/haiku/r1alpha3"/> -- 1.8.3.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [libosinfo PATCH 2/4] media: Don't assume identifiers are null terminated
On Thu, Feb 14, 2019 at 10:57 AM Christophe Fergeau wrote: > Hey, > > On Wed, Feb 13, 2019 at 08:19:25PM +0100, Fabiano Fidêncio wrote: > > Identifiers as volume-id, application, publisher, and system are not > > null terminated and cannot be assumed as so. > > > > By assuming those are null terminated strings, libosinfo ends up not > > counting the last character of a MAX_* string and, consequently, not > > properly identifying medias that have their identifiers with the MAX_* > > size. > > > > One example is the ubuntu-18.04.1.0-live-server-amd64.iso media, which > > has as volume-id 'Ubuntu-Server 18.04.1+ LTS amd64'. As the volume-id > > has exactly 32 characters it's never been matched as when reading the > > media's volume-id it'd be read as 'Ubuntu-Server 18.04.1+ LTS amd6'. > > I don't think we have any test case for that code, do we? > We don't have any specific test case for this code. But the whole test-isodetect relies on this (and that's the way I found out the issue when adding the new test data). Do you want a specific test for this or are you fine with the patch 4 covering this case? > > > --- > > osinfo/osinfo_media.c | 37 +++-- > > 1 file changed, 23 insertions(+), 14 deletions(-) > > > > diff --git a/osinfo/osinfo_media.c b/osinfo/osinfo_media.c > > index 9f77504..eaf67e2 100644 > > --- a/osinfo/osinfo_media.c > > +++ b/osinfo/osinfo_media.c > > @@ -137,6 +137,11 @@ struct _CreateFromLocationAsyncData { > > > > gsize offset; > > gsize length; > > + > > +gchar *volume; > > +gchar *system; > > +gchar *application; > > +gchar *publisher; > > }; > > > > static void create_from_location_async_data_free > > @@ -144,6 +149,10 @@ static void create_from_location_async_data_free > > { > > g_object_unref(data->file); > > g_object_unref(data->res); > > + g_free(data->volume); > > + g_free(data->system); > > + g_free(data->application); > > + g_free(data->publisher); > > > > g_slice_free(CreateFromLocationAsyncData, data); > > } > > @@ -809,18 +818,18 @@ > create_from_location_async_data(CreateFromLocationAsyncData *data) > > OSINFO_MEDIA_PROP_URL, > > uri); > > g_free(uri); > > -if (!is_str_empty(data->pvd.volume)) > > +if (!is_str_empty(data->volume)) > > osinfo_entity_set_param(OSINFO_ENTITY(media), > > OSINFO_MEDIA_PROP_VOLUME_ID, > > -data->pvd.volume); > > -if (!is_str_empty(data->pvd.system)) > > +data->volume); > > +if (!is_str_empty(data->system)) > > osinfo_entity_set_param(OSINFO_ENTITY(media), > > OSINFO_MEDIA_PROP_SYSTEM_ID, > > -data->pvd.system); > > -if (!is_str_empty(data->pvd.publisher)) > > +data->system); > > +if (!is_str_empty(data->publisher)) > > osinfo_entity_set_param(OSINFO_ENTITY(media), > > OSINFO_MEDIA_PROP_PUBLISHER_ID, > > -data->pvd.publisher); > > +data->publisher); > > if (!is_str_empty(data->pvd.application)) > > osinfo_entity_set_param(OSINFO_ENTITY(media), > > OSINFO_MEDIA_PROP_APPLICATION_ID, > > @@ -1159,19 +1168,19 @@ static void on_pvd_read(GObject *source, > > return; > > } > > > > -data->pvd.volume[MAX_VOLUME - 1] = 0; > > -g_strchomp(data->pvd.volume); > > +data->volume = g_strndup(data->pvd.volume, MAX_VOLUME); > > +g_strchomp(data->volume); > > > > -data->pvd.system[MAX_SYSTEM - 1] = 0; > > -g_strchomp(data->pvd.system); > > +data->system = g_strndup(data->pvd.system, MAX_SYSTEM); > > +g_strchomp(data->system); > > > > -data->pvd.publisher[MAX_PUBLISHER - 1] = 0; > > -g_strchomp(data->pvd.publisher); > > +data->publisher = g_strndup(data->pvd.publisher, MAX_PUBLISHER); > > +g_strchomp(data->publisher); > > > > -data->pvd.application[MAX_APPLICATION - 1] = 0; > > +data->application = g_strndup(data->pvd.application, > MAX_APPLICATION); > > g_strchomp(data->pvd.application); > > This should be g_strchomp(data->application); > Fixed. > > Reviewed-by: Christophe Fergeau > > Christophe > ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
Re: [Libosinfo] [osinfo-db PATCH 1/4] ubuntu: Improve the volume-id regex
On Thu, Feb 14, 2019 at 10:46 AM Christophe Fergeau wrote: > On Wed, Feb 13, 2019 at 08:19:24PM +0100, Fabiano Fidêncio wrote: > > The first release of Ubuntu ISOs usually have their volume-id as, for > > instance: > > Ubuntu-Server 18.04 LTS amd64 > > > > Whenever a new release is done, a new digit is added as, for instance: > > Ubuntu-Server 18.04.1 LTS amd64 > > > > However, at least with 18.04, they had a new release for the server > > media that looks like: > > Ubuntu-Server 18.04.1+ LTS amd64 > > > > This '+' addition breaks the current used regular expression to match > > the media's volume-id. In order to take a safer path, let's expand all > > the regular expressions that have '(.\d)?' to use '(.\d\+?)?' instead, > > being able then to also match the '+'. > > > > The command used to change all the entries is: > > sed -i -e 's/(.\\d)?/(.\\d\\+?)?/g' ubuntu-*.xml.in > > > > Signed-off-by: Fabiano Fidêncio > > --- > > data/os/ubuntu.com/ubuntu-10.04.xml.in | 4 ++-- > > data/os/ubuntu.com/ubuntu-12.04.xml.in | 8 > > data/os/ubuntu.com/ubuntu-14.04.xml.in | 8 > > data/os/ubuntu.com/ubuntu-14.10.xml.in | 8 > > data/os/ubuntu.com/ubuntu-15.04.xml.in | 8 > > data/os/ubuntu.com/ubuntu-15.10.xml.in | 8 > > data/os/ubuntu.com/ubuntu-16.04.xml.in | 14 ++--- > > data/os/ubuntu.com/ubuntu-16.10.xml.in | 16 +++ > > data/os/ubuntu.com/ubuntu-17.04.xml.in | 14 ++--- > > data/os/ubuntu.com/ubuntu-17.10.xml.in | 12 +-- > > data/os/ubuntu.com/ubuntu-18.04.xml.in | 10 - > > data/os/ubuntu.com/ubuntu-18.10.xml.in | 12 +-- > > data/os/ubuntu.com/ubuntu-19.04.xml.in | 10 - > > data/os/ubuntu.com/ubuntu-6.06.xml.in | 28 +- > > data/os/ubuntu.com/ubuntu-8.04.xml.in | 12 +-- > > data/os/ubuntu.com/ubuntu-9.04.xml.in | 8 > > A bunch of the older releases don't look for xx.yy.zz in the volume id, > but only for xx.yy. Your patch is missing these. It's not clear to me if > it's intentional that we don't have these matches for these releases, or > if it's just something that was overlooked. > I guess it's been overlooked for a few years :-) I'll do the changes on those files as well to keep them as the others. Do you want to see a v2 of this patch? [snip] ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH 1/4] ubuntu: Improve the volume-id regex
The first release of Ubuntu ISOs usually have their volume-id as, for instance: Ubuntu-Server 18.04 LTS amd64 Whenever a new release is done, a new digit is added as, for instance: Ubuntu-Server 18.04.1 LTS amd64 However, at least with 18.04, they had a new release for the server media that looks like: Ubuntu-Server 18.04.1+ LTS amd64 This '+' addition breaks the current used regular expression to match the media's volume-id. In order to take a safer path, let's expand all the regular expressions that have '(.\d)?' to use '(.\d\+?)?' instead, being able then to also match the '+'. The command used to change all the entries is: sed -i -e 's/(.\\d)?/(.\\d\\+?)?/g' ubuntu-*.xml.in Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-10.04.xml.in | 4 ++-- data/os/ubuntu.com/ubuntu-12.04.xml.in | 8 data/os/ubuntu.com/ubuntu-14.04.xml.in | 8 data/os/ubuntu.com/ubuntu-14.10.xml.in | 8 data/os/ubuntu.com/ubuntu-15.04.xml.in | 8 data/os/ubuntu.com/ubuntu-15.10.xml.in | 8 data/os/ubuntu.com/ubuntu-16.04.xml.in | 14 ++--- data/os/ubuntu.com/ubuntu-16.10.xml.in | 16 +++ data/os/ubuntu.com/ubuntu-17.04.xml.in | 14 ++--- data/os/ubuntu.com/ubuntu-17.10.xml.in | 12 +-- data/os/ubuntu.com/ubuntu-18.04.xml.in | 10 - data/os/ubuntu.com/ubuntu-18.10.xml.in | 12 +-- data/os/ubuntu.com/ubuntu-19.04.xml.in | 10 - data/os/ubuntu.com/ubuntu-6.06.xml.in | 28 +- data/os/ubuntu.com/ubuntu-8.04.xml.in | 12 +-- data/os/ubuntu.com/ubuntu-9.04.xml.in | 8 16 files changed, 90 insertions(+), 90 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-10.04.xml.in b/data/os/ubuntu.com/ubuntu-10.04.xml.in index 6a0d759..2a53801 100644 --- a/data/os/ubuntu.com/ubuntu-10.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-10.04.xml.in @@ -32,7 +32,7 @@ http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04-desktop-i386.iso -Ubuntu 10.04(.\d)? LTS i386 +Ubuntu 10.04(.\d\+?)? LTS i386 LINUX casper/vmlinuz @@ -41,7 +41,7 @@ http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04-desktop-amd64.iso -Ubuntu 10.04(.\d)? LTS amd64 +Ubuntu 10.04(.\d\+?)? LTS amd64 LINUX casper/vmlinuz diff --git a/data/os/ubuntu.com/ubuntu-12.04.xml.in b/data/os/ubuntu.com/ubuntu-12.04.xml.in index b81df0a..0093f16 100644 --- a/data/os/ubuntu.com/ubuntu-12.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-12.04.xml.in @@ -32,7 +32,7 @@ http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-server-i386.iso -Ubuntu-Server 12.04(.\d)? LTS i386 +Ubuntu-Server 12.04(.\d\+?)? LTS i386 install/vmlinuz install/initrd.gz @@ -40,7 +40,7 @@ http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-server-amd64.iso -Ubuntu-Server 12.04(.\d)? LTS amd64 +Ubuntu-Server 12.04(.\d\+?)? LTS amd64 install/vmlinuz install/initrd.gz @@ -48,7 +48,7 @@ http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-desktop-i386.iso -Ubuntu 12.04(.\d)? LTS i386 +Ubuntu 12.04(.\d\+?)? LTS i386 casper/vmlinuz casper/initrd.lz @@ -56,7 +56,7 @@ http://old-releases.ubuntu.com/releases/precise/ubuntu-12.04-desktop-amd64.iso -Ubuntu 12.04(.\d)? LTS amd64 +Ubuntu 12.04(.\d\+?)? LTS amd64 casper/vmlinuz casper/initrd.lz diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index 40394bb..5e095b6 100644 --- a/data/os/ubuntu.com/ubuntu-14.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.04.xml.in @@ -33,7 +33,7 @@ http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-i386.iso -Ubuntu-Server 14.04(.\d)? LTS i386 +Ubuntu-Server 14.04(.\d\+?)? LTS i386 install/vmlinuz install/initrd.gz @@ -41,7 +41,7 @@ http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-amd64.iso -Ubuntu-Server 14.04(.\d)? LTS amd64 +Ubuntu-Server 14.04(.\d\+?)? LTS amd64 install/vmlinuz install/initrd.gz @@ -49,7 +49,7 @@ http://releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-i386.iso -Ubuntu 14.04(.\d)? LTS i386 +Ubuntu 14.04(.\d\+?)? LTS i386 casper/vmlinuz casper/initrd.lz @@ -57,7 +57,7 @@ http://releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-amd64.iso -Ubuntu 14.04(.\d)? LTS amd64 +Ubuntu 14.04(.\d\+?)? LTS amd64 casper/vmlinuz.efi casper/initrd.lz diff --git a/data/os/ubuntu.com/ubuntu-14.10.xml.in b/data/os/ubuntu.com/ubuntu-14.10.xml.in index 47512cd..e759776 100644 --- a/data/os/ubuntu.com/ubuntu-14.10.xml.in
[Libosinfo] [libosinfo PATCH 3/4] tests: Add ubuntu 18.04.1 test data
Signed-off-by: Fabiano Fidêncio --- .../ubuntu-18.04.1-desktop-amd64.iso.txt | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1-desktop-amd64.iso.txt diff --git a/tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1-desktop-amd64.iso.txt b/tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1-desktop-amd64.iso.txt new file mode 100644 index 000..f2ca3de --- /dev/null +++ b/tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1-desktop-amd64.iso.txt @@ -0,0 +1,29 @@ +CD-ROM is in ISO 9660 format +System id: +Volume id: Ubuntu 18.04.1 LTS amd64 +Volume set id: +Publisher id: +Data preparer id: XORRISO-1.2.4 2012.07.20.130001, LIBISOBURN-1.2.4, LIBISOFS-1.2.4, LIBBURN-1.2.4 +Application id: +Copyright File id: +Abstract File id: +Bibliographic File id: +Volume set size is: 1 +Volume set sequence number is: 1 +Logical block size is: 2048 +Volume size is: 953784 +El Torito VD version 1 found, boot catalog is in sector 191 +Joliet with UCS level 3 found +Rock Ridge signatures version 1 found +Eltorito validation header: +Hid 1 +Arch 0 (x86) +ID '' +Key 55 AA +Eltorito defaultboot header: +Bootid 88 (bootable) +Boot media 0 (No Emulation Boot) +Load segment 0 +Sys type 0 +Nsect 4 +Bootoff E3B56 932694 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db | libosinfo PATCH 0/4] Don't assume media identifiers are null terminated strings
While working on something completely unrelated, I've noticed that one Ubuntu ISO was not being recognized by libosinfo. After spending some time trying to understand why, I've noticed that libosinfo is considering that the maximum size of the volume-id would be '\0', which is not the case. So, this patch series provide: - Improvement for Ubuntu's volume-id regex; - Fixes for libosinfo in order to properly deal with the media identifiers in case those have the maximum allowed size; - Adding test data for Ubuntu that covers the fixed case; osinfo-db: Fabiano Fidêncio (1): ubuntu: Improve the volume-id regex data/os/ubuntu.com/ubuntu-10.04.xml.in | 4 ++-- data/os/ubuntu.com/ubuntu-12.04.xml.in | 8 data/os/ubuntu.com/ubuntu-14.04.xml.in | 8 data/os/ubuntu.com/ubuntu-14.10.xml.in | 8 data/os/ubuntu.com/ubuntu-15.04.xml.in | 8 data/os/ubuntu.com/ubuntu-15.10.xml.in | 8 data/os/ubuntu.com/ubuntu-16.04.xml.in | 14 ++--- data/os/ubuntu.com/ubuntu-16.10.xml.in | 16 +++ data/os/ubuntu.com/ubuntu-17.04.xml.in | 14 ++--- data/os/ubuntu.com/ubuntu-17.10.xml.in | 12 +-- data/os/ubuntu.com/ubuntu-18.04.xml.in | 10 - data/os/ubuntu.com/ubuntu-18.10.xml.in | 12 +-- data/os/ubuntu.com/ubuntu-19.04.xml.in | 10 - data/os/ubuntu.com/ubuntu-6.06.xml.in | 28 +- data/os/ubuntu.com/ubuntu-8.04.xml.in | 12 +-- data/os/ubuntu.com/ubuntu-9.04.xml.in | 8 16 files changed, 90 insertions(+), 90 deletions(-) libosinfo: Fabiano Fidêncio (3): media: Don't assume identifiers are null terminated tests: Add ubuntu 18.04.1 test data tests: Add ubuntu 18.04.1.0 test data osinfo/osinfo_media.c | 37 --- .../ubuntu-18.04.1-desktop-amd64.iso.txt | 29 +++ ...ubuntu-18.04.1.0-live-server-amd64.iso.txt | 29 +++ 3 files changed, 81 insertions(+), 14 deletions(-) create mode 100644 tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1-desktop-amd64.iso.txt create mode 100644 tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1.0-live-server-amd64.iso.txt -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [libosinfo PATCH 4/4] tests: Add ubuntu 18.04.1.0 test data
Signed-off-by: Fabiano Fidêncio --- ...ubuntu-18.04.1.0-live-server-amd64.iso.txt | 29 +++ 1 file changed, 29 insertions(+) create mode 100644 tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1.0-live-server-amd64.iso.txt diff --git a/tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1.0-live-server-amd64.iso.txt b/tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1.0-live-server-amd64.iso.txt new file mode 100644 index 000..4358746 --- /dev/null +++ b/tests/isodata/ubuntu/ubuntu18.04/ubuntu-18.04.1.0-live-server-amd64.iso.txt @@ -0,0 +1,29 @@ +CD-ROM is in ISO 9660 format +System id: +Volume id: Ubuntu-Server 18.04.1+ LTS amd64 +Volume set id: +Publisher id: +Data preparer id: XORRISO-1.2.4 2012.07.20.130001, LIBISOBURN-1.2.4, LIBISOFS-1.2.4, LIBBURN-1.2.4 +Application id: +Copyright File id: +Abstract File id: +Bibliographic File id: +Volume set size is: 1 +Volume set sequence number is: 1 +Logical block size is: 2048 +Volume size is: 415744 +El Torito VD version 1 found, boot catalog is in sector 193 +Joliet with UCS level 3 found +Rock Ridge signatures version 1 found +Eltorito validation header: +Hid 1 +Arch 0 (x86) +ID '' +Key 55 AA +Eltorito defaultboot header: +Bootid 88 (bootable) +Boot media 0 (No Emulation Boot) +Load segment 0 +Sys type 0 +Nsect 4 +Bootoff 2675F 157535 -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [libosinfo PATCH 2/4] media: Don't assume identifiers are null terminated
Identifiers as volume-id, application, publisher, and system are not null terminated and cannot be assumed as so. By assuming those are null terminated strings, libosinfo ends up not counting the last character of a MAX_* string and, consequently, not properly identifying medias that have their identifiers with the MAX_* size. One example is the ubuntu-18.04.1.0-live-server-amd64.iso media, which has as volume-id 'Ubuntu-Server 18.04.1+ LTS amd64'. As the volume-id has exactly 32 characters it's never been matched as when reading the media's volume-id it'd be read as 'Ubuntu-Server 18.04.1+ LTS amd6'. --- osinfo/osinfo_media.c | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/osinfo/osinfo_media.c b/osinfo/osinfo_media.c index 9f77504..eaf67e2 100644 --- a/osinfo/osinfo_media.c +++ b/osinfo/osinfo_media.c @@ -137,6 +137,11 @@ struct _CreateFromLocationAsyncData { gsize offset; gsize length; + +gchar *volume; +gchar *system; +gchar *application; +gchar *publisher; }; static void create_from_location_async_data_free @@ -144,6 +149,10 @@ static void create_from_location_async_data_free { g_object_unref(data->file); g_object_unref(data->res); + g_free(data->volume); + g_free(data->system); + g_free(data->application); + g_free(data->publisher); g_slice_free(CreateFromLocationAsyncData, data); } @@ -809,18 +818,18 @@ create_from_location_async_data(CreateFromLocationAsyncData *data) OSINFO_MEDIA_PROP_URL, uri); g_free(uri); -if (!is_str_empty(data->pvd.volume)) +if (!is_str_empty(data->volume)) osinfo_entity_set_param(OSINFO_ENTITY(media), OSINFO_MEDIA_PROP_VOLUME_ID, -data->pvd.volume); -if (!is_str_empty(data->pvd.system)) +data->volume); +if (!is_str_empty(data->system)) osinfo_entity_set_param(OSINFO_ENTITY(media), OSINFO_MEDIA_PROP_SYSTEM_ID, -data->pvd.system); -if (!is_str_empty(data->pvd.publisher)) +data->system); +if (!is_str_empty(data->publisher)) osinfo_entity_set_param(OSINFO_ENTITY(media), OSINFO_MEDIA_PROP_PUBLISHER_ID, -data->pvd.publisher); +data->publisher); if (!is_str_empty(data->pvd.application)) osinfo_entity_set_param(OSINFO_ENTITY(media), OSINFO_MEDIA_PROP_APPLICATION_ID, @@ -1159,19 +1168,19 @@ static void on_pvd_read(GObject *source, return; } -data->pvd.volume[MAX_VOLUME - 1] = 0; -g_strchomp(data->pvd.volume); +data->volume = g_strndup(data->pvd.volume, MAX_VOLUME); +g_strchomp(data->volume); -data->pvd.system[MAX_SYSTEM - 1] = 0; -g_strchomp(data->pvd.system); +data->system = g_strndup(data->pvd.system, MAX_SYSTEM); +g_strchomp(data->system); -data->pvd.publisher[MAX_PUBLISHER - 1] = 0; -g_strchomp(data->pvd.publisher); +data->publisher = g_strndup(data->pvd.publisher, MAX_PUBLISHER); +g_strchomp(data->publisher); -data->pvd.application[MAX_APPLICATION - 1] = 0; +data->application = g_strndup(data->pvd.application, MAX_APPLICATION); g_strchomp(data->pvd.application); -if (is_str_empty(data->pvd.volume)) { +if (is_str_empty(data->volume)) { g_set_error(, OSINFO_MEDIA_ERROR, OSINFO_MEDIA_ERROR_INSUFFICIENT_METADATA, -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [libosinfo PATCH] pureos: Add test data for pureos8
Signed-off-by: Fabiano Fidêncio --- ...0-gnome-live_20180904-amd64.hybrid.iso.txt | 29 +++ ...0-gnome-live_20181210-amd64.hybrid.iso.txt | 29 +++ ...0-gnome-live_20190128-amd64.hybrid.iso.txt | 29 +++ ...0-gnome-live_20190210-amd64.hybrid.iso.txt | 29 +++ 4 files changed, 116 insertions(+) create mode 100644 tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20180904-amd64.hybrid.iso.txt create mode 100644 tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20181210-amd64.hybrid.iso.txt create mode 100644 tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190128-amd64.hybrid.iso.txt create mode 100644 tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190210-amd64.hybrid.iso.txt diff --git a/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20180904-amd64.hybrid.iso.txt b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20180904-amd64.hybrid.iso.txt new file mode 100644 index 000..5c53a7d --- /dev/null +++ b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20180904-amd64.hybrid.iso.txt @@ -0,0 +1,29 @@ +CD-ROM is in ISO 9660 format +System id: +Volume id: PureOS 8.0 GNOME Live +Volume set id: +Publisher id: PURISM +Data preparer id: LIVE-BUILD 1:20180224PUREOS1; HTTPS://DEBIAN-LIVE.ALIOTH.DEBIAN.ORG/LIVE-BUILD +Application id: PUREOS GNU/LINUX +Copyright File id: +Abstract File id: +Bibliographic File id: +Volume set size is: 1 +Volume set sequence number is: 1 +Logical block size is: 2048 +Volume size is: 726240 +El Torito VD version 1 found, boot catalog is in sector 70 +Joliet with UCS level 3 found +Rock Ridge signatures version 1 found +Eltorito validation header: +Hid 1 +Arch 0 (x86) +ID '' +Key 55 AA +Eltorito defaultboot header: +Bootid 88 (bootable) +Boot media 0 (No Emulation Boot) +Load segment 0 +Sys type 0 +Nsect 4 +Bootoff 47 71 diff --git a/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20181210-amd64.hybrid.iso.txt b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20181210-amd64.hybrid.iso.txt new file mode 100644 index 000..4f00524 --- /dev/null +++ b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20181210-amd64.hybrid.iso.txt @@ -0,0 +1,29 @@ +CD-ROM is in ISO 9660 format +System id: +Volume id: PureOS 8.0 GNOME Live +Volume set id: +Publisher id: PURISM +Data preparer id: LIVE-BUILD 1:20180224PUREOS1; HTTPS://DEBIAN-LIVE.ALIOTH.DEBIAN.ORG/LIVE-BUILD +Application id: PUREOS GNU/LINUX +Copyright File id: +Abstract File id: +Bibliographic File id: +Volume set size is: 1 +Volume set sequence number is: 1 +Logical block size is: 2048 +Volume size is: 740376 +El Torito VD version 1 found, boot catalog is in sector 70 +Joliet with UCS level 3 found +Rock Ridge signatures version 1 found +Eltorito validation header: +Hid 1 +Arch 0 (x86) +ID '' +Key 55 AA +Eltorito defaultboot header: +Bootid 88 (bootable) +Boot media 0 (No Emulation Boot) +Load segment 0 +Sys type 0 +Nsect 4 +Bootoff 47 71 diff --git a/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190128-amd64.hybrid.iso.txt b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190128-amd64.hybrid.iso.txt new file mode 100644 index 000..789d267 --- /dev/null +++ b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190128-amd64.hybrid.iso.txt @@ -0,0 +1,29 @@ +CD-ROM is in ISO 9660 format +System id: +Volume id: PureOS 8.0 GNOME Live +Volume set id: +Publisher id: PURISM +Data preparer id: LIVE-BUILD 1:20180224PUREOS1; HTTPS://DEBIAN-LIVE.ALIOTH.DEBIAN.ORG/LIVE-BUILD +Application id: PUREOS GNU/LINUX +Copyright File id: +Abstract File id: +Bibliographic File id: +Volume set size is: 1 +Volume set sequence number is: 1 +Logical block size is: 2048 +Volume size is: 748512 +El Torito VD version 1 found, boot catalog is in sector 70 +Joliet with UCS level 3 found +Rock Ridge signatures version 1 found +Eltorito validation header: +Hid 1 +Arch 0 (x86) +ID '' +Key 55 AA +Eltorito defaultboot header: +Bootid 88 (bootable) +Boot media 0 (No Emulation Boot) +Load segment 0 +Sys type 0 +Nsect 4 +Bootoff 47 71 diff --git a/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190210-amd64.hybrid.iso.txt b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190210-amd64.hybrid.iso.txt new file mode 100644 index 000..b1a4c98 --- /dev/null +++ b/tests/isodata/pureos/pureos8/pureos-8.0-gnome-live_20190210-amd64.hybrid.iso.txt @@ -0,0 +1,29 @@ +CD-ROM is in ISO 9660 format +System id: +Volume id: PureOS 8.0 GNOME Live +Volume set id: +Publisher id: PURISM +Data preparer id: LIVE-BUILD 1:20180224PUREOS1; HTTPS://DEBIAN-LIVE.ALIOTH.DEBIAN.ORG/LIVE-BUILD +Application id: PUREOS GNU/LINUX +Copyright File id: +Abstract File id: +Bibliographic File id: +Volume set size is: 1 +Volume set sequence number
Re: [Libosinfo] [osinfo-db PATCH v2 02/13] ubuntu: Fix kernel path for 13.04 desktop ISOs
On Mon, Feb 11, 2019 at 11:40 AM Daniel P. Berrangé wrote: > > On Mon, Feb 11, 2019 at 09:43:44AM +0100, Fabiano Fidêncio wrote: > > Signed-off-by: Fabiano Fidêncio > > --- > > data/os/ubuntu.com/ubuntu-13.04.xml.in | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/data/os/ubuntu.com/ubuntu-13.04.xml.in > > b/data/os/ubuntu.com/ubuntu-13.04.xml.in > > index 07fe3ac..8e175d1 100644 > > --- a/data/os/ubuntu.com/ubuntu-13.04.xml.in > > +++ b/data/os/ubuntu.com/ubuntu-13.04.xml.in > > @@ -50,7 +50,7 @@ > > > > Ubuntu 13.04 i386 > > > > - casper/vmlinuz > > + casper/vmlinuz. > > Really ? A trailing "." ? Ops, no, this one is a typo and is on me. :-( Fixed locally already. > > >casper/initrd.lz > > > > > > @@ -58,7 +58,7 @@ > > > > Ubuntu 13.04 amd64 > > > > - casper/vmlinuz > > + casper/vmlinuz.efi > >casper/initrd.lz > > > > > > Regards, > Daniel > -- > |: https://berrange.com -o-https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o-https://fstop138.berrange.com :| > |: https://entangle-photo.org -o-https://www.instagram.com/dberrange :| > > ___ > Libosinfo mailing list > Libosinfo@redhat.com > https://www.redhat.com/mailman/listinfo/libosinfo -- Fabiano Fidêncio ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 13/13] ubuntu: Fix initrd path for 19.04 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-19.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os/ubuntu.com/ubuntu-19.04.xml.in index 73c4c4e..b7fe87c 100644 --- a/data/os/ubuntu.com/ubuntu-19.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in @@ -46,7 +46,7 @@ Ubuntu 19.04(.\d)? amd64 casper/vmlinuz - casper/initrd.lz + casper/initrd http://cdimage.ubuntu.com/ubuntu-server/daily/current/disco-server-arm64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 12/13] ubuntu: Fix initrd path for 18.10 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-18.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 1086541..da77bba 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -55,7 +55,7 @@ Ubuntu 18.10(.\d)? amd64 casper/vmlinuz - casper/initrd.lz + casper/initrd http://cdimage.ubuntu.com/ubuntu/releases/18.10/release/ubuntu-18.10-server-arm64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 07/13] ubuntu: Fix kernel path for 15.10 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-15.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-15.10.xml.in b/data/os/ubuntu.com/ubuntu-15.10.xml.in index 4ef334b..dea49b3 100644 --- a/data/os/ubuntu.com/ubuntu-15.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-15.10.xml.in @@ -59,7 +59,7 @@ Ubuntu 15.10(.\d)? amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 03/13] ubuntu: Fix kernel path for 13.10 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-13.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-13.10.xml.in b/data/os/ubuntu.com/ubuntu-13.10.xml.in index ae03f0b..ee33b79 100644 --- a/data/os/ubuntu.com/ubuntu-13.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-13.10.xml.in @@ -58,7 +58,7 @@ Ubuntu 13.10 amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 09/13] ubuntu: Fix kernel path for 16.10 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-16.10.xml.in b/data/os/ubuntu.com/ubuntu-16.10.xml.in index ea0b64d..1a0e16b 100644 --- a/data/os/ubuntu.com/ubuntu-16.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.10.xml.in @@ -59,7 +59,7 @@ Ubuntu 16.10(.\d)? amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 10/13] ubuntu: Fix kernel path for 17.04 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-17.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-17.04.xml.in b/data/os/ubuntu.com/ubuntu-17.04.xml.in index 7b7ca59..0b9028f 100644 --- a/data/os/ubuntu.com/ubuntu-17.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-17.04.xml.in @@ -73,7 +73,7 @@ Ubuntu 17.04(.\d)? amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 11/13] ubuntu: Fix kernel path for 17.10 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-17.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-17.10.xml.in b/data/os/ubuntu.com/ubuntu-17.10.xml.in index 1aae23f..8532586 100644 --- a/data/os/ubuntu.com/ubuntu-17.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-17.10.xml.in @@ -51,7 +51,7 @@ Ubuntu 17.10(.\d)? amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 06/13] ubuntu: Fix kernel path for 15.04 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-15.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-15.04.xml.in b/data/os/ubuntu.com/ubuntu-15.04.xml.in index 35acaf7..c440be2 100644 --- a/data/os/ubuntu.com/ubuntu-15.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-15.04.xml.in @@ -59,7 +59,7 @@ Ubuntu 15.04(.\d)? amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 02/13] ubuntu: Fix kernel path for 13.04 desktop ISOs
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-13.04.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-13.04.xml.in b/data/os/ubuntu.com/ubuntu-13.04.xml.in index 07fe3ac..8e175d1 100644 --- a/data/os/ubuntu.com/ubuntu-13.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-13.04.xml.in @@ -50,7 +50,7 @@ Ubuntu 13.04 i386 - casper/vmlinuz + casper/vmlinuz. casper/initrd.lz @@ -58,7 +58,7 @@ Ubuntu 13.04 amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 05/13] ubuntu: Fix kernel path for 14.10 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.10.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-14.10.xml.in b/data/os/ubuntu.com/ubuntu-14.10.xml.in index 4c71132..e4c2217 100644 --- a/data/os/ubuntu.com/ubuntu-14.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.10.xml.in @@ -59,7 +59,7 @@ Ubuntu 14.10(.\d)? amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 08/13] ubuntu: Fix kernel path for 16.04 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in index 3752ac4..ccc0c62 100644 --- a/data/os/ubuntu.com/ubuntu-16.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in @@ -59,7 +59,7 @@ Ubuntu 16.04(.\d)? LTS amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 04/13] ubuntu: Fix kernel path for 14.04 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-14.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-14.04.xml.in b/data/os/ubuntu.com/ubuntu-14.04.xml.in index 36a3773..ea361e2 100644 --- a/data/os/ubuntu.com/ubuntu-14.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-14.04.xml.in @@ -59,7 +59,7 @@ Ubuntu 14.04(.\d)? LTS amd64 - casper/vmlinuz + casper/vmlinuz.efi casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH v2 01/13] ubuntu: Fix initrd path for 11.04 desktop ISO
Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-11.04.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/os/ubuntu.com/ubuntu-11.04.xml.in b/data/os/ubuntu.com/ubuntu-11.04.xml.in index c0640fc..c9985be 100644 --- a/data/os/ubuntu.com/ubuntu-11.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-11.04.xml.in @@ -65,7 +65,7 @@ LINUX casper/vmlinuz - casper/initrd.img + casper/initrd.lz -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [osinfo-db PATCH] ubuntu: Fix initrd path for 16.04, 18.10 and 19.04
ubuntu desktop ISOs do not have their initrd file consistently named. For the majority of the releases their initrd is named as "initrd.lz" for some releases, as 16.04, 18.10 and, 19.04, the initrd is just named as "initrd". Signed-off-by: Fabiano Fidêncio --- data/os/ubuntu.com/ubuntu-16.04.xml.in | 4 ++-- data/os/ubuntu.com/ubuntu-18.10.xml.in | 2 +- data/os/ubuntu.com/ubuntu-19.04.xml.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in index 3752ac4..c1c6dd4 100644 --- a/data/os/ubuntu.com/ubuntu-16.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in @@ -52,7 +52,7 @@ Ubuntu 16.04(.\d)? LTS i386 casper/vmlinuz - casper/initrd.lz + casper/initrd http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-amd64.iso @@ -60,7 +60,7 @@ Ubuntu 16.04(.\d)? LTS amd64 casper/vmlinuz - casper/initrd.lz + casper/initrd http://cdimage.ubuntu.com/ubuntu/releases/16.04/release/ubuntu-16.04.5-server-powerpc.iso diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in index 0b1b975..e6fd9d2 100644 --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in @@ -55,7 +55,7 @@ Ubuntu 18.10(.\d)? amd64 casper/vmlinuz - casper/initrd.lz + casper/initrd http://cdimage.ubuntu.com/ubuntu/releases/18.10/release/ubuntu-18.10-server-arm64.iso diff --git a/data/os/ubuntu.com/ubuntu-19.04.xml.in b/data/os/ubuntu.com/ubuntu-19.04.xml.in index 73c4c4e..b7fe87c 100644 --- a/data/os/ubuntu.com/ubuntu-19.04.xml.in +++ b/data/os/ubuntu.com/ubuntu-19.04.xml.in @@ -46,7 +46,7 @@ Ubuntu 19.04(.\d)? amd64 casper/vmlinuz - casper/initrd.lz + casper/initrd http://cdimage.ubuntu.com/ubuntu-server/daily/current/disco-server-arm64.iso -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo
[Libosinfo] [libosinfo PATCH] media: Make _supports_installer_sript() aware of media installers
Signed-off-by: Fabiano Fidêncio --- This has been written atop of https://www.redhat.com/archives/libosinfo/2019-February/msg00028.html --- osinfo/osinfo_media.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osinfo/osinfo_media.c b/osinfo/osinfo_media.c index 6720736..9f77504 100644 --- a/osinfo/osinfo_media.c +++ b/osinfo/osinfo_media.c @@ -1661,7 +1661,8 @@ gboolean osinfo_media_supports_installer_script(OsinfoMedia *media) os = osinfo_media_get_os(media); list = osinfo_os_get_install_script_list(os); -if (osinfo_list_get_length(OSINFO_LIST(list)) == 0) { +if (osinfo_list_get_length(OSINFO_LIST(list)) == 0 && +osinfo_list_get_length(OSINFO_LIST(media->priv->scripts)) == 0) { ret = FALSE; goto cleanup; } -- 2.20.1 ___ Libosinfo mailing list Libosinfo@redhat.com https://www.redhat.com/mailman/listinfo/libosinfo