diff --git a/agama-installer-Leap/.osc/_apiurl b/agama-installer-Leap/.osc/_apiurl new file mode 100644 index 0000000..63cf4d2 --- /dev/null +++ b/agama-installer-Leap/.osc/_apiurl @@ -0,0 +1 @@ +https://api.opensuse.org diff --git a/agama-installer-Leap/.osc/_files b/agama-installer-Leap/.osc/_files new file mode 100644 index 0000000..b5a7a34 --- /dev/null +++ b/agama-installer-Leap/.osc/_files @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/agama-installer-Leap/.osc/_meta b/agama-installer-Leap/.osc/_meta new file mode 100644 index 0000000..3195488 --- /dev/null +++ b/agama-installer-Leap/.osc/_meta @@ -0,0 +1,8 @@ + + + <description/> + <build> + <disable repository="images"/> + </build> +</package> + diff --git a/agama-installer-Leap/.osc/_osclib_version b/agama-installer-Leap/.osc/_osclib_version new file mode 100644 index 0000000..2c858ab --- /dev/null +++ b/agama-installer-Leap/.osc/_osclib_version @@ -0,0 +1 @@ +2.0 diff --git a/agama-installer-Leap/.osc/_package b/agama-installer-Leap/.osc/_package new file mode 100644 index 0000000..b6abc72 --- /dev/null +++ b/agama-installer-Leap/.osc/_package @@ -0,0 +1 @@ +agama-installer-Leap diff --git a/agama-installer-Leap/.osc/_project b/agama-installer-Leap/.osc/_project new file mode 100644 index 0000000..d32180d --- /dev/null +++ b/agama-installer-Leap/.osc/_project @@ -0,0 +1 @@ +systemsmanagement:Agama:Maintenance:Leap-16.0 diff --git a/agama-installer-Leap/.osc/sources/README.md b/agama-installer-Leap/.osc/sources/README.md new file mode 100644 index 0000000..4922bbc --- /dev/null +++ b/agama-installer-Leap/.osc/sources/README.md @@ -0,0 +1,35 @@ +# Live ISO + +This directory contains a set of files that are used to build the Agama Live ISO +image. + +## Sources + +The sources are maintained in the [Agama Git +repository](https://github.com/openSUSE/agama/tree/master/live) repository. + +## Building the ISO + +To build the ISO locally run the + +```shell +osc build -M <build_flavor> images +``` + +command. See the [_multibuild](_multibuild) file for the list of configured +build flavors. To build for example the openSUSE flavor run this command: + +```shell +osc build -M openSUSE images +``` + +Note: For building an ISO image you need a lot of free space at the `/var` +partition. Make sure there is at least 25GiB free space otherwise the build +might fail. + +## Changes + +Please *do not* change any file in the OBS repository. The files are +automatically uploaded from the [Agama Git +repository](https://github.com/openSUSE/agama/tree/master/live), your manual +changes will be lost at the next update. diff --git a/agama-installer-Leap/.osc/sources/_constraints b/agama-installer-Leap/.osc/sources/_constraints new file mode 100644 index 0000000..7e25096 --- /dev/null +++ b/agama-installer-Leap/.osc/sources/_constraints @@ -0,0 +1,7 @@ +<constraints> + <hardware> + <disk> + <size unit="G">25</size> + </disk> + </hardware> +</constraints> diff --git a/agama-installer-Leap/.osc/sources/_multibuild b/agama-installer-Leap/.osc/sources/_multibuild new file mode 100644 index 0000000..98ded51 --- /dev/null +++ b/agama-installer-Leap/.osc/sources/_multibuild @@ -0,0 +1,3 @@ +<multibuild> + <flavor>Leap_16.0</flavor> +</multibuild> diff --git a/agama-installer-Leap/.osc/sources/_service b/agama-installer-Leap/.osc/sources/_service new file mode 100644 index 0000000..4dd7053 --- /dev/null +++ b/agama-installer-Leap/.osc/sources/_service @@ -0,0 +1,3 @@ +<services> + <service mode="buildtime" name="kiwi_metainfo_helper"/> +</services> diff --git a/agama-installer-Leap/.osc/sources/agama-installer.changes b/agama-installer-Leap/.osc/sources/agama-installer.changes new file mode 100644 index 0000000..8602dc3 --- /dev/null +++ b/agama-installer-Leap/.osc/sources/agama-installer.changes @@ -0,0 +1,990 @@ +------------------------------------------------------------------- +Mon Sep 8 10:13:30 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Remove PXE images as it was agreed to use the Live iso (squashfs + images) for PXE installations too (related to bsc#1238848). + +------------------------------------------------------------------- +Mon Aug 25 10:48:37 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live-root: update final EULAs with the June 2024 delivery + +------------------------------------------------------------------- +Tue Aug 19 14:14:22 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Make /etc/resolv.conf available at /sysroot when applying the DUDs + (bsc#1248276). + +------------------------------------------------------------------- +Mon Aug 18 15:48:09 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add a "Boot from Hard Disk" option for ppc64le and drop the + "Other options..." submenu (bsc#1248161). + +------------------------------------------------------------------- +Mon Aug 18 10:20:51 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Load modules even if the module.order file is not given (bsc#1248138). + +------------------------------------------------------------------- +Wed Aug 13 10:27:39 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Copy kernel modules from DUDs to the updates/ directory (bsc#1246061). + +------------------------------------------------------------------- +Mon Aug 11 09:42:22 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Fix handling of Driver Update Disks when they are placed in local + file systems (bsc#1247682, bsc#1247776). + +------------------------------------------------------------------- +Thu Aug 7 15:39:03 UTC 2025 - Steffen Winterfeldt <snwint@suse.com> + +- fix DUD application in 99-agama-dud-apply.sh (jsc#PED-13262) + +------------------------------------------------------------------- +Thu Jul 31 16:58:42 UTC 2025 - Josef Reidinger <jreidinger@suse.com> + +- Boot by default from disk to avoid endless loop in unattended + installation (bsc#1247438) + +------------------------------------------------------------------- +Sun Jul 27 09:44:04 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- Do not fail if there are no rpm scriptlets to clean + (gh#agama-project/agama#2617). + +------------------------------------------------------------------- +Wed Jul 23 14:18:38 UTC 2025 - José Iván López González <jlopez@suse.com> + +- Ensure iSCSI initiator name is unique (bsc#1246280). + +------------------------------------------------------------------- +Wed Jul 23 08:08:23 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- In Firefox disable downloading the binary H.264 codec from + ciscobinary.openh264.org (gh#agama-project/agama#2601) + +------------------------------------------------------------------- +Tue Jul 22 10:05:30 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Include the "libopenssl-3-fips-provider" package in the installer + image to work properly with the "fips=1" boot parameter + (bsc#1246857) + +------------------------------------------------------------------- +Mon Jul 21 15:07:42 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 17 + +------------------------------------------------------------------- +Mon Jul 21 14:12:22 UTC 2025 - Ancor Gonzalez Sosa <ancor@suse.com> + +- Disabled udev rules that interfere with the activation process of + libstorage-ng (bsc#1246133 and bsc#1245159). + +------------------------------------------------------------------- +Thu Jul 17 21:51:19 UTC 2025 - Ancor Gonzalez Sosa <ancor@suse.com> + +- Masked some systemd services that interfere with the activation + process of libstorage-ng (bsc#1246133). + +------------------------------------------------------------------- +Thu Jul 17 08:08:40 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Added "inst.dud_insecure" boot option for ignoring SSL + certificate problems when downloading DUD from an HTTPS server + (related to bsc#1245393) +- Skip updating kernel module dependencies if the DUD image does + not provide any kernel module + +------------------------------------------------------------------- +Tue Jul 15 16:19:21 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed downloading DUD files from HTTPS URL + (link the SSL certificates and config from the root image) + (bsc#1245393) + +------------------------------------------------------------------- +Mon Jul 14 11:25:22 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Use "plaindir" repository type for the DUD package repository, + we do not need to create any repository index + (gh#agama-project/agama#2543) +- Automatically configure network when a remote DUD is used, + the "rd.neednet=1" boot option is not required anymore + (by default uses the DHCP configuration, can be changed via the + "ip=" boot option) + +------------------------------------------------------------------- +Thu Jul 10 13:09:26 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add support to update kernel modules from a Driver Update Disk + (jsc#AGM-158, jsc#PED-3670, gh#agama-project/agama#2548). + +------------------------------------------------------------------- +Wed Jul 9 12:07:21 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the tpm2.0-tools package (jsc#PED-13114). + +------------------------------------------------------------------- +Wed Jul 2 13:28:46 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live: fix_bootconfig.s390x: strip CDLABEL from the kiwi-generated + grub config (bsc#1245453) + +------------------------------------------------------------------- +Tue Jul 1 15:29:36 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com> + +- Make agama-installer build more reproducible (boo#1245501) + +------------------------------------------------------------------- +Mon Jun 30 15:51:37 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 16 + +------------------------------------------------------------------- +Fri Jun 20 14:57:08 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Install "gdm-systemd" and enable "gdm.service" to start the + graphical desktop, this is a new way for starting display managers + +------------------------------------------------------------------- +Thu Jun 19 09:06:50 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Add hyper-v on x86_64 and aarch64 only (related to bsc#1236961). + +------------------------------------------------------------------- +Wed Jun 18 11:29:08 UTC 2025 - David Diaz <dgonzalez@suse.com> + +- Make web bundled fonts available for the system via config + file (gh#agama-project/agama#2488, bsc#1236261). + +------------------------------------------------------------------- +Tue Jun 17 08:47:46 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Add hyper-v package (bsc#1236961). + +------------------------------------------------------------------- +Fri Jun 13 10:41:15 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add initial support to apply updates from RPM packages and DUD archives + (gh#agama-project/agama#2466). + +------------------------------------------------------------------- +Tue Jun 10 14:40:21 UTC 2025 - José Iván López González <jlopez@suse.com> + +- Add iscsiuio kernel driver (gh#agama-project/agama#2460). + +------------------------------------------------------------------- +Thu Jun 5 08:28:10 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Disable Firefox extensions autoupdate + (gh#agama-project/agama#2441) + +------------------------------------------------------------------- +Tue Jun 3 07:35:56 UTC 2025 - Michal Filka <mfilka@suse.cz> + +- Switched live ISO to use Wayland (gh#agama-project/agama#1781) +- Do not require microos-tools as we don't need it anymore. bsc#1237366 + +------------------------------------------------------------------- +Thu May 29 07:16:11 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Keep the nvmem kernel drivers (bsc#1243350) + +------------------------------------------------------------------- +Mon May 26 21:35:04 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Generate systemd network link files below Agama run folder to + be copied at the end of the installation (bsc#1237327, + bsc#1241969, gh#agama-project/agama#2404). + +------------------------------------------------------------------- +Mon May 26 19:51:55 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 15 + +------------------------------------------------------------------- +Mon May 26 14:22:03 UTC 2025 - Lukas Ocilka <locilka@suse.com> + +- Added a simple Rescue System by reusing the Installation Live + Image and disabling the Agama services + +------------------------------------------------------------------- +Wed May 21 12:42:34 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Do not set root= dracut configuration in PXE images + (gh#agama-project/agama#2377). + +------------------------------------------------------------------- +Tue May 20 08:42:29 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Disable sending Firefox usage data to Mozilla for increased + privacy, disable installing studies + +------------------------------------------------------------------- +Tue May 13 16:56:56 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Do not set the root in /boot/grub2/grub.cfg file, it was wrong + and the root is already set in the /boot/grub2/earlyboot.cfg + file (bsc#1236873) +- Replace underscores in the boot menu label by spaces + +------------------------------------------------------------------- +Wed May 7 07:07:33 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed locale cleanup to not delete all locales + (related to bsc#1238584) +- Keep only the UTF-8 locales, non-UTF-8 are not supported + +------------------------------------------------------------------- +Tue May 6 14:14:50 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add perl-XML-Simple for backward compatibility (jsc#PED-10122, + gh#agama-project/agama#2331). + +------------------------------------------------------------------- +Tue Apr 29 11:30:59 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Predefine some useful commands in the default bash history for + easier use. It can serve also as a hint how to save logs, etc... + +------------------------------------------------------------------- +Thu Apr 28 16:40:41 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Ensure the persistent NetworkManager connections are copied if + not explicitlly disabled (related to gh#agama-project/agama#2291) + +------------------------------------------------------------------- +Mon Apr 28 12:14:51 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed missing drivers in ppc64le initrd, fixes broken + installation via PXE (bsc#1241887) +- Removed the workaround for adding the xhci-pci-renesas driver, + now it is included in the default dracut drivers + +------------------------------------------------------------------- +Fri Apr 25 14:10:04 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Display Firefox devtool in fullscreen window, display the + console by default after pressing F12, display timestamps + in console + +------------------------------------------------------------------- +Thu Apr 24 16:40:41 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- bsc#1239777, bsc#1236885 gh#agama-project/agama#2291. + - Persist the NetworkManager runtime config created by + nm-initrd-generator when given explicitlly with the 'ip=' + kernel cmdline argument. + - Allow to disable the copy of the persistent configuration with + the inst.copy_network kernel cmdline argument. + - Do not copy the NetworkManager runtime configuration to the + target system anymore. + +------------------------------------------------------------------- +Thu Apr 24 15:11:35 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Filter out the special PXE boot parameters, do not pass them + to the installed system. Remove also most of the network + settings (gh#agama-project/agama#2280) + +------------------------------------------------------------------- +Wed Apr 23 08:39:34 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Rename "root" source directory to "live-root" to avoid confusion + with root/root directory +- Removed duplicate files which are located in root/root + (live-root/root now) + +------------------------------------------------------------------- +Wed Apr 23 05:47:23 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Include the kernel-default-optional package in the Live ISO + to support more hardware (bsc#1241099) + +------------------------------------------------------------------- +Tue Apr 22 14:14:54 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 14 + +------------------------------------------------------------------- +Thu Apr 10 05:20:55 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add a new SUSE_SLE_16_PXE_MINI that only includes the software + to use Agama remotely (jsc#PED-12152). + +------------------------------------------------------------------- +Tue Apr 8 15:52:18 UTC 2025 - Josef Reidinger <jreidinger@suse.com> + +- Fix boot from Hard Disk for EFI x86_64 (bsc#1240646) + +------------------------------------------------------------------- +Thu Apr 3 08:28:18 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Workaround for a not working file picker in local installation + (gh#agama-project/agama#2243) + +------------------------------------------------------------------- +Wed Apr 2 05:47:01 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Use "agama download" to fetch the info file (gh#agama-project/agama#2176). + +------------------------------------------------------------------- +Mon Mar 31 13:06:53 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Print also the IPv6 installer URLs in the console (bsc#1240197) + +------------------------------------------------------------------- +Thu Mar 27 15:56:11 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Version 14pre + +------------------------------------------------------------------- +Thu Mar 27 12:40:06 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 13 + +------------------------------------------------------------------- +Tue Mar 25 13:28:15 UTC 2025 - Giacomo Leidi <giacomo.leidi@suse.com> + +- live/src/agama-installer.kiwi: Adapt to latest patterns (SR#364982) + +------------------------------------------------------------------- +Mon Mar 24 10:57:22 UTC 2025 - Lukas Ocilka <locilka@suse.com> + +- Fixed DUD issues (gh#agama-project/agama#2199): + - Enabling the agama-dud service in the live media + - Making the agama-dud script executable + - Disabling dmesg on the console while DUD runs + +------------------------------------------------------------------- +Fri Mar 21 09:58:52 AM UTC 2025 - Lukas Ocilka <locilka@suse.com> + +- Added the initial functionality for inst.dud + (jsc#3670 and jsc#AGM-65) + +------------------------------------------------------------------- +Fri Mar 21 07:31:34 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add aaa_base-extras which includes setup-systemd-proxy-env.path + (gh#agama-project/agama#2184). + +------------------------------------------------------------------- +Thu Mar 20 15:52:36 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Fixed broken "inst.self_update" boot option + (gh#agama-project/agama#2175) + +------------------------------------------------------------------- +Tue Mar 18 16:32:07 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Remove /etc/nvme/host* files from the image (bsc#1238038) + +------------------------------------------------------------------- +Mon Mar 17 12:12:02 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed broken media check service (bsc#1239155) + +------------------------------------------------------------------- +Wed Mar 12 17:17:08 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- (gh#agama-project/agama#2142) + - Allow to set the static hostname using the hostname kernel + cmdline argument. + - Allow to disable the set of the hostname via DHCP using the + SetHostname kernel cmdline argument. + +------------------------------------------------------------------- +Tue Mar 11 16:29:40 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Bump the version to 13pre + +------------------------------------------------------------------- +Wed Mar 5 14:54:48 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Decrease the libzypp timeout from the default 60 seconds to + 20 seconds (Agama now does automatic retry) + (gh#agama-project/agama#2117) +- Display proper Agama version in the console + +------------------------------------------------------------------- +Wed Feb 26 11:50:17 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Add IPMI drivers to the initrd (bsc#1237354) + +------------------------------------------------------------------- +Wed Feb 26 08:08:25 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Install additional kernel drivers from the kernel-default-extra + package (gh#agama-project/agama#2059) + +------------------------------------------------------------------- +Wed Feb 26 06:51:38 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 12 + +------------------------------------------------------------------- +Mon Feb 24 17:07:07 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed build in SLE16, some packages to remove are not + preinstalled in SLE16, do not fail in that case + +------------------------------------------------------------------- +Mon Feb 24 16:19:03 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Reduce the PPC initrd size (gh#agama-project/agama#2026), + use the same solution from installation-images + (gh#openSUSE/installation-images#754) + +------------------------------------------------------------------- +Mon Feb 24 13:35:04 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Use a TrueType font in xterm + +------------------------------------------------------------------- +Fri Feb 21 16:34:08 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- ISO size reduction, delete not needed packages (python, Mesa, + libyui-qt, Qt libs,...) +- Use XZ compression for initrd to have a smaller image + (esp. important for PPC) (part of gh#agama-project/agama#2026) + +------------------------------------------------------------------- +Fri Feb 21 16:03:42 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed broken "live.password_dialog" boot option + (gh#agama-project/agama#2043) + +------------------------------------------------------------------- +Wed Feb 19 10:38:45 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the QEMU guest agent (gh#agama-project/agama#1816, + gh#agama-project/agama#2025). + +------------------------------------------------------------------- +Wed Feb 19 08:49:24 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Added support for giving a file URL with extra kernel cmdline + arguments (agama.info) which was known as the info file in + linuxrc. +- Added basic support for translating the ifcfg kernel cmdline arg + to its ip equivalent (gh#agama-project/agama#1896). +- Moved the kernel cmdline conf under /run/agama/cmdline.d + +------------------------------------------------------------------- +Wed Feb 19 07:37:51 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed reboot delay caused by the root shell service + (gh#agama-project/agama#2018) +- Run the shell at tty8 (there was a collision with the login + prompt at tty2) + +------------------------------------------------------------------- +Tue Feb 18 13:14:30 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Rename kiwi profiles to avoid using dashes, using underscores + instead (gh#agama-project/agama#2014). +- Enable PXE support for SLE 16 distributions. +- Add Agama CLI Bash completion support. + +------------------------------------------------------------------- +Tue Feb 18 11:10:22 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Add the xhci-pci-renesas driver to the initrd if available + (workaround for bsc#1237235) + +------------------------------------------------------------------- +Wed Feb 12 12:02:39 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Do not print details about removed kernel drivers and firmware + files during build, this speeds up the build significantly + (~1 minute faster build) and avoids huge build log. +- Uncompress the kernel drivers, no need to compress them twice + (they are compressed by the squashfs as well). Compressing + all drivers together in the image is more effective than + compressing several thousands individual files. + This makes the image about 33MB smaller (on x86_64). (boo#1192457) +- Hardlink the duplicate licenses, makes the ISO ~1MB smaller + +------------------------------------------------------------------- +Wed Feb 12 10:17:47 UTC 2025 - Giacomo Leidi <giacomo.leidi@suse.com> + +- Add ISO publisher (gh#agama-project/agama#1967) + +------------------------------------------------------------------- +Wed Feb 12 08:04:11 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Start root shell in a free terminal (usually tty2) +- Fixed restarting the x11-autologin service +- Do not ask to restore the browser session after restarting it +- Print only kernel errors or more severe messages on the console, + avoid spamming the terminal with useless texts (bsc#1237056) + +------------------------------------------------------------------- +Fri Feb 7 16:31:50 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live: fix_bootconfig.s390x: restore initrd.off naming for the initrd offset + This essentially reverts the previous change (bsc#1236781, gh#agama-project/agama#1969, + gh#agama-project/agama#1974) + +------------------------------------------------------------------- +Fri Feb 7 09:15:02 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- In local installation prefer the language configured in the + UEFI firmware + +------------------------------------------------------------------- +Fri Feb 7 08:21:29 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Implemented media check functionality (bsc#1236103) + +------------------------------------------------------------------- +Fri Feb 7 08:10:46 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Use better ISO Volume ID labels (bsc#1236401) +- Improve also the boot menu labels +- Use the graphical boot menu also in SLE +- Added UEFI firmware settings boot menu option + +------------------------------------------------------------------- +Tue Feb 4 13:25:35 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- configure xterm to use the default fixed font also in the + configuration popup menu (Ctrl + click) to avoid crash +- bsc#1235478 + - tuned IceWM setup to disable some desktop functionality like + opening main menu using the Win key (by mfilka@suse.com) + +------------------------------------------------------------------- +Mon Feb 3 23:08:34 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live: fix_bootconfig.s390x: use initrd.ofs for the initrd + offset filename (gh#agama-project/agama#1969) + +------------------------------------------------------------------- +Mon Feb 3 23:01:37 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- fix_bootimage: exit on failures (gh#agama-project/agama#1969) + +------------------------------------------------------------------- +Mon Jan 20 10:37:43 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add SUSE licenses (jsc#PED-11987). + +------------------------------------------------------------------- +Wed Jan 15 16:53:28 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- Drop patterns-yast-yast2_basis requirement + yast packages should be installed per package and not as + a whole pattern. + (gh#agama-project/agama#1893). + +------------------------------------------------------------------- +Fri Jan 10 21:22:03 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 11 + +------------------------------------------------------------------- +Fri Jan 10 09:03:06 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Depend on Ruby's default version (gh#agama-project/agama#1872). + +------------------------------------------------------------------- +Wed Jan 8 12:10:39 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Make agama kernel cmdline options available in the sysroot at + /etc/agama.d/cmdline.conf and set it as a EnvironmentFile + in Agama related services (gh#agama-project/agama#1866). + +------------------------------------------------------------------- +Tue Dec 10 12:46:06 UTC 2024 - Michal Filka <mfilka@suse.com> + +- Updated config.sh to enable agama-dbus-monitor service + (gh#agama-project/agama#1824). + +------------------------------------------------------------------- +Thu Dec 5 11:19:10 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Fixed missing firmware for some drivers (gh#agama-project/agama#1756) + - Support wildcards ("*") in the references firmware files + - Handle symbolic links + +------------------------------------------------------------------- +Tue Dec 3 12:41:31 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Drop unneeded packages (gh#agama-project/agama#1805): + - xf86-video-* are obsoleted by the modesetting driver. + - xf86-input-wacom is obsoleted by libinput. + +------------------------------------------------------------------- +Mon Dec 2 14:53:12 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Use the installation-images config file for removing the kernel + drivers, it deletes even more not needed drivers and it is + a reliable source (related to gh#agama-project/agama#1665) +- The ISO size decreased by ~40MB + +------------------------------------------------------------------- +Thu Nov 28 08:58:21 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Less aggressive kernel driver cleanup, keep the multimedia + drivers which are needed as dependencies of other drivers + (usually graphic card drivers) (gh#agama-project/agama#1665) + +------------------------------------------------------------------- +Wed Nov 13 12:20:23 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Temporarily drop xf86-video-fbdev as it seems to be missing + in the repo + (gh#agama-project/agama#1752) + +------------------------------------------------------------------- +Wed Nov 13 10:29:31 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Add common xf86-video drives + x86-input for tablets + (gh#agama-project/agama#1752) + +------------------------------------------------------------------- +Thu Nov 7 11:32:09 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Add Leap,Leap-PXE profiles + The openSUSE profile is basically Tumbleweed + Leap has ruby version from SLE profile, and Leap specific branding + +------------------------------------------------------------------- +Tue Nov 5 12:41:19 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- config.sh: ignore non-existent translations if already missing. + +------------------------------------------------------------------- +Fri Sep 20 11:44:43 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 10 + +------------------------------------------------------------------- +Thu Sep 19 12:02:59 UTC 2024 - Joaquín Rivera <jeriveramoya@suse.com> + +- Revert to use tty7 (gh#openSUSE/agama#1582) + openQA tty expectations for installer are always in this tty. + The change to tty2 created an sporadic failure assigning tty2 + as a non-grafical one anyway in ppc64le and aarch64. + +------------------------------------------------------------------- +Mon Sep 16 15:46:23 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Define boot menu for all arches by scripts in config-cdroot + newly added x86_64 and aarch64 write stock copies from kiwi + generated grub.cfg + +- intel uefi boot fix from "Boot from disk item" (gh#openSUSE/agama#1609) + +- Keep -x on purpose for future trubleshooting (advice from Marcus) + +- Use $kiwi_iname instead of static agama-live reference in all of + config-cdroom/* with exception of s390x, where for some reason + we use SUSE Linux... string instead + + +------------------------------------------------------------------- +Mon Sep 9 15:55:16 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- Firefox: set browser.startup.homepage_override.mstone to ignore + (gh#openSUSE/agama#1593) + +------------------------------------------------------------------- +Sun Sep 8 06:28:35 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Use tty2 instead of tty7 (gh#openSUSE/agama#1582) + This matches openQA tty expectations for >SLES12 + +------------------------------------------------------------------- +Wed Sep 4 07:08:30 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Install Firefox on all architectures, install + MozillaFirefox-branding-SLE in the SLE image + (gh#openSUSE/agama#1574) + +------------------------------------------------------------------- +Tue Sep 3 14:50:58 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Firefox: disable the initial configuration workflow + (gh#openSUSE/agama#1573) + +------------------------------------------------------------------- +Fri Aug 30 13:05:53 UTC 2024 - Thomas Blume <Thomas.Blume@suse.com> + +- remove memcheck workaround in images.sh (bsc#1228621) + +------------------------------------------------------------------- +Mon Aug 26 10:05:01 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Include the procps instead of the procps4 package + (jsc#PED-8669, gh#openSUSE/agama#1554). + +------------------------------------------------------------------- +Mon Aug 19 17:54:55 UTC 2024 - Josef Reidinger <jreidinger@suse.com> + +- Add beside staging-build-keys also openSUSE-build-keys to not + require import of keys for official opensuse repos + (gh#openSUSE/agama#1538) + +------------------------------------------------------------------- +Mon Aug 12 12:38:45 UTC 2024 - Josef Reidinger <jreidinger@suse.com> + +- Do not fail if there is no opensuse keys on medium for PXE + (gh#openSUSE/agama#1535) + +------------------------------------------------------------------- +Fri Aug 2 08:02:41 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Display QR codes at the console for easier connecting to Agama + with smartphones (gh#openSUSE/agama#1522) + +------------------------------------------------------------------- +Thu Jul 25 13:18:38 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Increase the available disk space in the Live system to allow + installing additional development or debugging tools + (gh#openSUSE/agama#1501) + +------------------------------------------------------------------- +Fri Jul 19 09:43:06 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add a new profile for SLE-based distributions + (gh#openSUSE/agama#1475). +- Rename the package to "agama-installer". +- Do not include the full "base-x11" pattern but only the needed + packages. + +------------------------------------------------------------------- +Thu Jul 18 15:25:39 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Include Puppeteer in all ISO images (gh#openSUSE/agama#1477) +- Drop Playwright ISO flavor (gh#openSUSE/agama#1481) + +------------------------------------------------------------------- +Tue Jul 9 13:26:38 UTC 2024 - Knut Anderssen <kanderssen@suse.com> + +- Added agama-installer-openSUSE PXE images + (gh#openSUSE/agama#1450). + +------------------------------------------------------------------- +Thu Jul 4 11:24:47 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Update src/live to match rename to agama-installer-openSUSE + fixes issue that bot updates wrong spec/changes file + +- Update README and PXE to reference to agama-installer-openSUSE + +- Update PXE instructions to create 25GB image instead of 20 + Current agama can't deploy e.g. Leap 16 on 20GB disk image + with default layout including swap + +------------------------------------------------------------------- +Wed Jul 3 10:41:32 UTC 2024 - Knut Anderssen <kanderssen@suse.com> + +- Set agama as a transient hostname instead of an static one + (gh#openSUSE/agama#1432). + +------------------------------------------------------------------- +Fri Jun 28 13:40:35 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Syntax highlighting for "agama config edit" + (gh#openSUSE/agama#1411) + +------------------------------------------------------------------- +Thu Jun 27 14:33:24 UTC 2024 -Steffen Winterfeldt <snwint@suse.com> + +- Enable checksum generation for s390x agama live images + (gh#openSUSE/agama#1406). + +------------------------------------------------------------------- +Thu Jun 27 13:24:19 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 9 + +------------------------------------------------------------------- +Fri Jun 14 10:36:52 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Experimental Agama self-update (gh#openSUSE/agama#1341) + +------------------------------------------------------------------- +Thu Jun 13 16:07:08 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Added Tumbleweed OSS and Agama Staging repositories to the Live + system itself (gh#openSUSE/agama#1332) + +------------------------------------------------------------------- +Tue Jun 11 21:39:51 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the jq package to the image (gh#openSUSE/agama#1314). + +------------------------------------------------------------------- +Thu Jun 6 14:30:19 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Automatically generate the root password (gh#openSUSE/agama#1292) +- Allow setting the default root password in ISO metadata + (gh#openSUSE/agama#1290) +- Alloe setting teh root password from boot command line or set + it interactively during boot (gh#openSUSE/agama#1288) + +------------------------------------------------------------------- +Wed Jun 5 15:40:43 UTC 2024 - Knut Anderssen <kanderssen@suse.com> + +- Fix the cd.ikr content for booting the s390x iso + (gh#openSUSE/agama#1289). + +------------------------------------------------------------------- +Tue May 21 10:38:39 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the procps4 package to the image (gh#openSUSE/agama#1245). + +------------------------------------------------------------------- +Fri May 17 09:52:27 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 8 + +------------------------------------------------------------------- +Fri Feb 9 16:16:29 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Image size reduced: + - Removed translations and locale definitions for unsupported + languages, removed translations for unused tools + - Removed sound card and TV card drivers (not needed for the installer) + - Removed alsa packages + - Removed unused firmware files +- Require 25GB disk space for build (PXE build might fail with + just 20GB) + +------------------------------------------------------------------- +Thu Feb 1 08:27:29 UTC 2024 - Josef Reidinger <jreidinger@suse.com> + +- Improve multipath experience: preload kernel module and set probing + to smart option (bsc#1215598) + +------------------------------------------------------------------- +Thu Dec 21 15:43:06 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 7 + +------------------------------------------------------------------- +Mon Dec 4 16:03:08 UTC 2023 - José Iván López González <jlopez@suse.com> + +- Remove dependencies included by Agama packages (related to + gh#openSUSE/agama#911). + +------------------------------------------------------------------- +Fri Dec 1 14:23:09 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 6 + +------------------------------------------------------------------- +Mon Nov 13 18:02:39 UTC 2023 - Josef Reidinger <jreidinger@suse.com> + +- Use by default zram to allow having 2GiB memory requirements + (jsc#PED-7303) + +------------------------------------------------------------------- +Mon Nov 6 08:30:01 UTC 2023 - Marcus Schäfer <marcus.schaefer@suse.com> + +- Fix s390 PXE build by using 'custom' bootloader for s390 target + There is an error inside grub2-zipl-setup which calls zipl that + then complains with "Unable to create temporary device node: No such device or address". + We don't see this issue with zipl in the kiwi integration test from here: + https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_s390:tumbleweed + Thus I don't think it's an issue with kiwi but most probably a conflict + between the zipl setup and the raw btrfs filesystem usage in this case. + Long story short, the zipl issue needs extra inspection and the fix + here is simple because we actually don't need a bootloader to be installed + into the disk image because it is expected to be deployed via a remote + boot infrastructure. Therefore this change disables the bootloader + install for s390 by setting the attribute: bootloader="custom" + +------------------------------------------------------------------- +Tue Oct 24 08:04:07 UTC 2023 - Marcus Schäfer <marcus.schaefer@suse.com> + +- Add new profile ALP-PXE which builds a variant of the agama + installer that is an oem disk image which can be remote deployed + into a ramdisk to boot into the agama installation. The size constraints + are similar to the live-iso size. For more details please refer + to README.pxe + +---------------------------------------------------------------------------- +Mon Oct 23 12:03:55 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Add adobe-sourcehansans-jp-fonts +- Version 5 + +---------------------------------------------------------------------------- +Thu Oct 19 20:19:11 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Add libstorage-ng translations + +---------------------------------------------------------------------------- +Wed Sep 27 08:45:26 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Version 4 + +---------------------------------------------------------------------------- +Tue Sep 26 07:55:34 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Clean-up zypper logs + +---------------------------------------------------------------------------- +Tue Sep 26 05:28:35 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Added nvme-cli requested by https://bugzilla.suse.com/show_bug.cgi?id=1215572 + +---------------------------------------------------------------------------- +Wed Aug 30 09:44:04 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Add microos-tools package and enable proxy setup services. + +---------------------------------------------------------------------------- +Tue Aug 29 09:19:26 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Enable ppc64le images + +---------------------------------------------------------------------------- +Thu Aug 03 10:23:49 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Disable building the ALP image for ppc64le + +---------------------------------------------------------------------------- +Wed Aug 02 10:37:21 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Version 3 + +---------------------------------------------------------------------------- +Tue Aug 01 09:56:42 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Replace "default" flavor with a new "openSUSE" flavor that only includes + openSUSE-based products. +- Replace ALP-build-key with suse-build-key. + +---------------------------------------------------------------------------- +Mon Jul 31 11:34:26 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Replace ALP-build-key with suse-build-key + +---------------------------------------------------------------------------- +Tue Jul 25 14:43:39 UTC 2023 - José Iván López González <jlopez@suse.com> + +- Update filtering + +---------------------------------------------------------------------------- +Wed Jul 05 08:27:33 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Bump version to match Agama + +---------------------------------------------------------------------------- +Thu Jun 08 14:12:15 UTC 2023 - Josef Reidinger <jreidinger@suse.com> + +- add to live image also dbus services written in rust + +---------------------------------------------------------------------------- +Thu Jun 01 14:05:13 UTC 2023 - Ladislav Slezák <lslezak@suse.com> + +- osc copypac from project:YaST:Head:Agama package:agama-live revision:13 diff --git a/agama-installer-Leap/.osc/sources/agama-installer.kiwi b/agama-installer-Leap/.osc/sources/agama-installer.kiwi new file mode 100644 index 0000000..1e3af23 --- /dev/null +++ b/agama-installer-Leap/.osc/sources/agama-installer.kiwi @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- OBS-ExclusiveArch: aarch64 ppc64le x86_64 s390x --> +<!-- OBS-Profiles: @BUILD_FLAVOR@ --> + +<image schemaversion="7.5" name="agama-installer"> + <description type="system"> + <author>YaST Team</author> + <contact>yast2-maintainers@suse.de</contact> + <specification>Agama Live ISO</specification> + </description> + <profiles> + <!-- use at most 16 characters for the profile name, it is used in the ISO Volume ID --> + <!-- which is limited to max. 32 characters --> + <profile name="Leap_16.0" description="openSUSE Leap image" import="true" /> + <profile name="openSUSE" description="openSUSE multiproduct image" import="true" /> + <!-- TODO: add SPx in the future --> + <profile name="SUSE_SLE_16" description="SLE-based image" import="true" /> + </profiles> + <preferences> + <version>17.0.0</version> + <packagemanager>zypper</packagemanager> + <locale>en_US</locale> + <keytable>us</keytable> + <timezone>Europe/Berlin</timezone> + <rpm-excludedocs>true</rpm-excludedocs> + <rpm-check-signatures>false</rpm-check-signatures> + <bootsplash-theme>bgrt</bootsplash-theme> + <bootloader-theme>openSUSE</bootloader-theme> + </preferences> + <!-- the ISO Volume ID is set by the fix_bootconfig script --> + <preferences arch="ppc64le" profiles="openSUSE,SUSE_SLE_16,Leap_16.0"> + <type image="iso" flags="dmsquash" firmware="ofw" mediacheck="true" publisher="SUSE LLC" editbootconfig="fix_bootconfig"> + <bootloader name="grub2" console="serial" timeout="10"/> + </type> + </preferences> + <preferences arch="aarch64,x86_64" profiles="openSUSE,SUSE_SLE_16,Leap_16.0"> + <type image="iso" flags="dmsquash" firmware="uefi" mediacheck="true" publisher="SUSE LLC" editbootconfig="fix_bootconfig"> + <bootloader name="grub2" timeout="10"/> + </type> + </preferences> + <preferences arch="s390x" profiles="openSUSE,SUSE_SLE_16,Leap_16.0"> + <type image="iso" flags="dmsquash" mediacheck="true" publisher="SUSE LLC" editbootconfig="fix_bootconfig"> + <bootloader name="custom" /> + </type> + </preferences> + <users> + <!-- the password is configured during boot --> + <user password="!*" home="/root" name="root" groups="root"/> + </users> + <repository type="rpm-md"> + <source path="obsrepositories:/"/> + </repository> + <!-- common set of packages (SSH-based and remote installation, etc.) --> + <packages type="image"> + <package name="avahi"/> + <package name="bind-utils"/> + <package name="systemd"/> + <package name="procps"/> + <package name="iputils"/> + <package name="hyper-v" arch="aarch64,x86_64"/> + <package name="vim"/> + <package name="vim-data"/> + <package name="grub2"/> + <package name="grub2-arm64-efi" arch="aarch64"/> + <package name="grub2-x86_64-efi" arch="x86_64"/> + <package name="grub2-i386-pc" arch="x86_64"/> + <package name="grub2-s390x-emu" arch="s390x" /> + <package name="grub2-powerpc-ieee1275" arch="ppc64le"/> + <package name="syslinux" arch="x86_64"/> + <package name="openssh"/> + <package name="iproute2"/> + <package name="less"/> + <package name="bash-completion"/> + <package name="dhcp-client"/> + <package name="which"/> + <package name="kernel-default"/> + <!-- the firmware files not referenced by any kernel driver are removed from the image --> + <package name="kernel-firmware"/> + <package name="adaptec-firmware"/> + <package name="atmel-firmware"/> + <package name="ipw-firmware"/> + <package name="mpt-firmware"/> + <package name="zd1211-firmware"/> + <package name="iscsiuio"/> + <package name="systemd-zram-service"/> <!--- needed for zram --> + <package name="shim" arch="aarch64,x86_64"/> + <package name="timezone"/> + <package name="dracut-kiwi-live"/> + <package name="blog" arch="s390x" /> + <package name="libblogger2" arch="s390x" /> + <package name="NetworkManager"/> + <package name="agama"/> + <package name="agama-yast"/> + <package name="agama-web-ui"/> + <package name="agama-cli"/> + <package name="agama-cli-bash-completion"/> + <package name="agama-autoinstall"/> + <package name="rubygem(agama-yast)"/> + <package name="rubygem(byebug)"/> + <package name="psmisc"/> + <package name="joe"/> + <package name="checkmedia"/> + <package name="libtss2-tcti-device0"/> + <package name="jq"/> + <package name="yast2-schema"/> + <package name="qrencode"/> + <package name="qemu-guest-agent" /> + <package name="aaa_base-extras"/> + <!-- to work correctly with the fips=1 boot parameter --> + <package name="libopenssl-3-fips-provider"/> + <!-- it can be used by users in AutoYaST pre-scripts --> + <package name="perl-XML-Simple"/> + <archive name="live-root.tar.xz"/> + <!-- IPMI support --> + <package name="ipmitool" /> + <!-- jsc#PED-13114 --> + <package name="tpm2.0-tools" /> + </packages> + + <!-- packages for local installation (desktop, browser, etc.) --> + <packages type="image" profiles="Leap_16.0,openSUSE,SUSE_SLE_16"> + <package name="bluez-firmware"/> + <package name="agama-integration-tests"/> + <package name="fontconfig"/> + <package name="fonts-config"/> + <package name="xauth"/> + <package name="MozillaFirefox"/> + <package name="gdm-systemd"/> + <package name="gnome-shell"/> + <package name="gnome-session-wayland"/> + <package name="gnome-kiosk"/> + <package name="spice-vdagent"/> + </packages> + + <!-- common packages for openSUSE Tumbleweed and Leap distributions --> + <packages type="image" profiles="Leap_16.0,openSUSE"> + <package name="agama-products-opensuse"/> + <package name="grub2-branding-openSUSE" arch="aarch64,x86_64"/> + <package name="MozillaFirefox-branding-openSUSE"/> + <package name="openSUSE-build-key"/> + <package name="patterns-openSUSE-base"/> + <package name="staging-build-key"/> + </packages> + <!-- additional packages for the Leap distributions --> + <packages type="image" profiles="Leap_16.0"> + <package name="openSUSE-repos-Leap"/> + <package name="kernel-default-extra"/> + <package name="kernel-default-optional"/> + </packages> + <!-- additional packages for the openSUSE Tumbleweed distribution --> + <packages type="image" profiles="openSUSE"> + <package name="openSUSE-repos-Tumbleweed"/> + </packages> + <!-- additional packages for the SLE distributions --> + <packages type="image" profiles="SUSE_SLE_16"> + <package name="agama-products-sle"/> + <package name="grub2-branding-SLE" arch="aarch64,x86_64"/> + <package name="patterns-base-base"/> + <package name="suse-build-key"/> + </packages> + <packages type="image" profiles="SUSE_SLE_16"> + <package name="MozillaFirefox-branding-SLE"/> + <package name="kernel-default-extra"/> + <package name="kernel-default-optional"/> + </packages> + <packages type="bootstrap"> + <package name="udev"/> + <package name="filesystem"/> + <package name="glibc-locale"/> + <package name="ca-certificates"/> + <package name="ca-certificates-mozilla"/> + </packages> + <packages type="bootstrap" profiles="Leap_16.0"> + <package name="Leap-release"/> + </packages> + <packages type="bootstrap" profiles="openSUSE"> + <package name="openSUSE-release"/> + <package name="openSUSE-release-ftp"/> + </packages> + <packages type="bootstrap" profiles="SUSE_SLE_16"> + <package name="SLES-release"/> + </packages> +</image> diff --git a/agama-installer-Leap/.osc/sources/config-cdroot.tar.xz b/agama-installer-Leap/.osc/sources/config-cdroot.tar.xz new file mode 100644 index 0000000..37d4169 Binary files /dev/null and b/agama-installer-Leap/.osc/sources/config-cdroot.tar.xz differ diff --git a/agama-installer-Leap/.osc/sources/config.sh b/agama-installer-Leap/.osc/sources/config.sh new file mode 100644 index 0000000..f186b1c --- /dev/null +++ b/agama-installer-Leap/.osc/sources/config.sh @@ -0,0 +1,360 @@ +#!/bin/bash + +set -ex + +# KIWI functions +test -f /.kconfig && . /.kconfig +test -f /.profile && . /.profile + +# greeting +echo "Configure image: [$kiwi_iname]..." + +# setup baseproduct link +suseSetupProduct + +# save the current build data, the %VARIABLES% are replaced by the OBS +# kiwi_metainfo_helper service before starting the build +mkdir -p /var/log/build +cat << EOF > /var/log/build/info +Build date: $(LC_ALL=C date -u -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%F %T %Z") +Build number: Build%RELEASE% +Image profile: $kiwi_profiles +Image version: $kiwi_iversion +Image type: $kiwi_type +Source URL: %SOURCEURL% +EOF + +# for reproducible builds: +echo -n > /var/log/alternatives.log +sed -i 's/# AutoInstalled generated.*/# AutoInstalled generated in kiwi reproducible build/' /var/lib/zypp/AutoInstalled # drop timestamp +rm -f /var/tmp/rpm-tmp.* + +# enable the corresponding repository +DISTRO=$(grep "^NAME" /etc/os-release | cut -f2 -d\= | tr -d '"' | tr " " "_") +REPO="/etc/zypp/repos.d/agama-${DISTRO}.repo" +if [ -f "${REPO}.disabled" ]; then + mv "${REPO}.disabled" $REPO +fi +rm /etc/zypp/repos.d/*.disabled + +# configure the repositories in the Live system +# import the OBS key for the systemsmanagement OBS project +rpm --import /tmp/systemsmanagement_key.gpg +rm /tmp/systemsmanagement_key.gpg +# import the IBS key for the Devel:YaST:Agama:Head project +rpm --import /tmp/Devel_YaST_Agama_Head_key.gpg +rm /tmp/Devel_YaST_Agama_Head_key.gpg +# import the openSUSE keys, but check if there is any +if stat -t /usr/lib/rpm/gnupg/keys/*.asc 2>/dev/null 1>/dev/null; then + rpm --import /usr/lib/rpm/gnupg/keys/*.asc +fi + +# decrease the libzypp timeout to 20 seconds (the default is 60 seconds) +sed -i -e "s/^\s*#\s*download.connect_timeout\s*=\s*.*$/download.connect_timeout = 20/" /etc/zypp/zypp.conf + +# activate services +systemctl enable sshd.service +systemctl enable NetworkManager.service +systemctl enable avahi-daemon.service +systemctl enable agama.service +systemctl enable agama-web-server.service +systemctl enable agama-dbus-monitor.service +systemctl enable agama-autoinstall.service +systemctl enable agama-hostname.service +systemctl enable agama-proxy-setup.service +systemctl enable agama-certificate-issue.path +systemctl enable agama-certificate-wait.service +systemctl enable agama-cmdline-process.service +systemctl enable agama-welcome-issue.service +systemctl enable agama-avahi-issue.service +systemctl enable agama-url-issue.service +systemctl enable agama-ssh-issue.service +systemctl enable agama-self-update.service +systemctl enable live-free-space.service +systemctl enable live-password.service +systemctl enable live-root-shell.service +systemctl enable checkmedia.service +systemctl enable qemu-guest-agent.service +systemctl enable setup-systemd-proxy-env.path +test -f /usr/lib/systemd/system/gdm.service && systemctl enable gdm.service +test -f /usr/lib/systemd/system/spice-vdagentd.service && systemctl enable spice-vdagentd.service +systemctl enable zramswap + +# set the default target +if [[ "$kiwi_profiles" == *MINI* ]]; then + # the MINI images do not include graphical environment + systemctl set-default multi-user.target +else + systemctl set-default graphical.target +fi + +# disable snapshot cleanup +systemctl disable snapper-cleanup.timer +systemctl disable snapper-timeline.timer + +# disable unused services +systemctl disable YaST2-Firstboot.service +systemctl disable YaST2-Second-Stage.service + +# Prevent premature activation of LVM (bsc#1246133) +systemctl mask lvm2-monitor.service +sed -i 's:# event_activation = 1:event_activation = 0:' /etc/lvm/lvm.conf + +# Prevent premature assembly of MD RAIDs (bsc#1245159) +touch /etc/udev/rules.d/64-md-raid-assembly.rules + +# the "eurlatgr" is the default font for the English locale +echo -e "\nFONT=eurlatgr.psfu" >> /etc/vconsole.conf + +### setup dracut for live system +arch=$(uname -m) +# keep in sync with ISO Volume ID set in the fix_bootconfig script +profile=$(echo "$kiwi_profiles" | tr "_" "-") +label="Install-$profile-$arch" + +echo "Setting default live root: live:LABEL=$label" +mkdir /etc/cmdline.d +echo "root=live:LABEL=$label" >/etc/cmdline.d/10-liveroot.conf +echo "root_disk=live:LABEL=$label" >>/etc/cmdline.d/10-liveroot.conf +echo 'install_items+=" /etc/cmdline.d/10-liveroot.conf "' >/etc/dracut.conf.d/10-liveroot-file.conf +echo 'add_dracutmodules+=" dracut-menu agama-cmdline agama-dud "' >>/etc/dracut.conf.d/10-liveroot-file.conf + +# decrease the kernel logging on the console, use a dracut module to do it early in the boot process +echo 'add_dracutmodules+=" agama-logging "' > /etc/dracut.conf.d/10-agama-logging.conf + +# add the ipmi drivers to the initrd (bsc#1237354) +extra_drivers=(acpi_ipmi ipmi_devintf ipmi_poweroff ipmi_si ipmi_ssif ipmi_watchdog) + +for driver in "${extra_drivers[@]}" +do + # check if the driver is present (allow a suffix like .zstd or .xz for optionally compressed drivers) + if find /lib/modules -type f -name "$driver.ko*" -print0 | grep -qz .; then + echo "Adding $driver driver to initrd..." + echo "add_drivers+=\" $driver \"" >> /etc/dracut.conf.d/10-extra-drivers.conf + else + echo "Skipping driver $driver, not found in the system" + fi +done + +if [ "${arch}" = "s390x" ]; then + # workaround for custom bootloader setting + touch /config.bootoptions +fi + +# Remove nvme hostid and hostnqn (bsc#1238038) +rm -f /etc/nvme/host* + +# Remove default iSCSI initiator name (bsc#1246280) +rm -f /etc/iscsi/initiatorname.iscsi + +# replace the @@LIVE_MEDIUM_LABEL@@ with the real Live partition label name from KIWI +sed -i -e "s/@@LIVE_MEDIUM_LABEL@@/$label/g" /usr/bin/live-password +sed -i -e "s/@@LIVE_MEDIUM_LABEL@@/$label/g" /usr/bin/checkmedia-service + +# Increase the Live ISO image size to have some extra free space for installing +# additional debugging or development packages. +# +# Unfortunately Kiwi does not allow to configure the image size for the "iso" +# build target (it can do that for "oem"). As a workaround here we create a big +# sparse file which in reality takes just little space in the image but Kiwi +# uses its virtual size for estimating the needed filesystem size. +# The file is later deleted at boot by the live-free-space service. +dd bs=1 count=1 seek=2G if=/dev/zero of=/var/lib/live_free_space + +################################################################################ +# Reducing the used space +# +# Profile specific cleanup +# + +# Extra cleanup for the MINI images +if [[ "$kiwi_profiles" == *MINI* ]]; then + # remove the GPU drivers, not needed when running in text mode only, + # the related firmware is deleted by the script below + rm -rf /usr/lib/modules/*/kernel/drivers/gpu + + # remove WiFi drivers + rm -rf /usr/lib/modules/*/kernel/drivers/net/wireless + # remove Bluetooth drivers + rm -rf /usr/lib/modules/*/kernel/drivers/bluetooth + rm -rf /usr/lib/modules/*/kernel/net/bluetooth +fi + +# Remove the SUSEConnect CLI tool from the openSUSE images and the mini PXE image, +# keep it in the SLE images, it might be useful for testing/debugging +# (Agama uses libsuseconnect.so directly via the Ruby bindings and does not need the CLI, +# registration in theory would be still possible even in the openSUSE images) +if [[ "$kiwi_profiles" == *MINI* ]] || [[ "$kiwi_profiles" == *Leap* ]] || [[ "$kiwi_profiles" == *openSUSE* ]]; then + rm -f /usr/bin/suseconnect +fi + +################################################################################ +# Generic cleanup in all images + +# Clean-up logs +rm /var/log/zypper.log /var/log/zypp/history + +# reduce the "vim-data" content, this package is huge (37MB unpacked!), keep only +# support for JSON (for "agama config edit") and Ruby (fixing/debugging the Ruby +# service) +rpm -ql vim-data | grep -v -e '/ruby.vim$' -e '/json.vim$' -e colors | xargs rm 2>/dev/null || true + +du -h -s /usr/{share,lib}/locale/ + +# Agama expects that the same locales available in the installation system can +# be also used later in the installed system and offers them in the web UI to +# select. But to make the Live ISO smaller it makes sense to delete the locales +# not supported by Agama itself. To solve this problem the list of available +# locales is saved to a file before deleting the locales not supported by Agama. +# Agama then reads this file instead of running the "localectl list-locales" +# command. +mkdir -p /etc/agama.d +# emulate "localectl list-locales" call, it cannot be used here because it +# insists on running systemd as PID 1 :-/ +ls -1 -d /usr/lib/locale/*.utf8 | sed -e "s#/usr/lib/locale/##" -e "s#utf8#UTF-8#" >/etc/agama.d/locales + +# delete translations and unsupported languages (makes ISO about 22MiB smaller) +# build list of ignore options for "ls" with supported languages like "-I cs -I cs_CZ ..." +# languages.json is like: { "ca-ES": "Català", "de-DE": "Deutsch", ...} +# jq prints ca-ES\nde-DE\n... +readarray -t IGNORE_OPTS < <(jq -r keys[] < /usr/share/agama/web_ui/languages.json | sed -e "s/\(.*\)-\(.*\)/-I\n\\1\n-I\n\1_\2/") +# additionally keep the en_US translations +ls -1 "${IGNORE_OPTS[@]}" -I en_US /usr/share/locale/ | xargs -I% sh -c "echo 'Removing translations %...' && rm -rf /usr/share/locale/%" + +# delete locale definitions for unsupported languages (explicitly keep the C and en_US locales) +readarray -t IGNORE_OPTS < <(jq -r keys[] < /usr/share/agama/web_ui/languages.json | sed -e "s/-/_/" -e "s/$/.utf8/" -e "s/^/-I\n/") +ls -1 "${IGNORE_OPTS[@]}" -I "en_US.utf8" -I "C.utf8" /usr/lib/locale/ | xargs -I% sh -c "echo 'Removing locale %...' && rm -rf /usr/lib/locale/%" + +# delete unused translations (MO files) +for t in zypper gettext-runtime p11-kit; do + rm -f /usr/share/locale/*/LC_MESSAGES/$t.mo +done +du -h -s /usr/{share,lib}/locale/ + +# remove printing support from GTK +rm -rf /usr/lib64/gtk-3*/*/printbackends +rpm -e --nodeps libcups2 cups-config || true + +# remove documentation +du -h -s /usr/share/doc/packages/ +rm -rf /usr/share/doc/packages/* +# remove man pages +du -h -s /usr/share/man +rm -rf /usr/share/man/* + +# python is installed just because of few simple scripts /usr/sbin/bcache-status (bcache-tools package) +# and /usr/sbin/xfs_protofile (xfsprogs package) +# both are not used by libtorage-ng, yast2-storage-ng nor agama +python=$(rpm -q --whatprovides python3-base || true) +if [ -n "$python" ]; then + echo "Python package: $python" + python_deps=$(rpm -e "$python" 2>&1 || true) + # avoid removing python accidentally because of some new unknown dependency + python_deps=$(echo "$python_deps" | grep -v -e "Failed dependencies" -e "needed by .* libpython" -e "needed by .* bcache-tools" -e "needed by .* xfsprogs" || true) + + if [ -z "$python_deps" ]; then + echo "Removing Python..." + # remove libpython as well + rpm -e --nodeps "$python" $(rpm -qa | grep "^libpython3") + else + echo "Warning: Extra Python dependency detected:" + echo "$python_deps" + echo "Keeping the python packages installed" + fi +fi + +# remove unused SUSEConnect libzypp plugins +rm -f /usr/lib/zypper/commands/zypper-migration +rm -f /usr/lib/zypper/commands/zypper-search-packages + +# delete some FireFox audio codec support +rm -f /usr/lib64/firefox/libmozavcodec.so + +# uninstall libyui-qt and libqt (pulled in by the YaST dependencies), +# not present in SLES, do not fail if not installed +if rpm -q --whatprovides libyui-qt libyui-qt-pkg > /dev/null; then + rpm -q --whatprovides libyui-qt libyui-qt-pkg | xargs rpm -e --nodeps +fi +rpm -qa | grep ^libQt | xargs --no-run-if-empty rpm -e --nodeps + +## removing drivers and firmware makes the Live ISO about 370MiB smaller +# +# Agama does not use sound, added by icewm dependencies +rpm -e --nodeps alsa alsa-utils alsa-ucm-conf || true + +# driver and firmware cleanup +# Note: openSUSE Tumbleweed Live completely removes firmware for some server +# network cars, because you very likely won't run TW KDE Live on a server. +# But for Agama installer it makes more sense to run on server. So we keep it +# and remove the drivers for sound cards and TV cards instead. Those do not +# make sense on a server. +du -h -s /lib/modules /lib/firmware + +# remove the multimedia drivers +# set DEBUG=1 to print the deleted drivers +/tmp/driver_cleanup.rb --delete +# remove the script and data, not needed anymore +rm /tmp/driver_cleanup.rb /tmp/module.list* + +# remove the unused firmware (not referenced by kernel drivers) +/tmp/fw_cleanup.rb --delete +# remove the script, not needed anymore +rm /tmp/fw_cleanup.rb +du -h -s /lib/modules /lib/firmware + +################################################################################ +# The rest of the file was copied from the openSUSE Tumbleweed Live ISO +# https://build.opensuse.org/projects/openSUSE:Factory:Live/packages/livecd-tumbleweed-kde/files/config.sh?expand=1 +# + +# Stronger compression for the initrd +echo 'compress="xz -9 --check=crc32 --memlimit-compress=50%"' >> /etc/dracut.conf.d/less-storage.conf + +# Kernel modules (+ firmware) for X13s +if [ "$(arch)" == "aarch64" ]; then + echo 'add_drivers+=" clk-rpmh dispcc-sc8280xp gcc-sc8280xp gpucc-sc8280xp nvmem_qcom-spmi-sdam qcom_hwspinlock qcom_q6v5 qcom_q6v5_pas qnoc-sc8280xp pmic_glink pmic_glink_altmode smp2p spmi-pmic-arb leds-qcom-lpg "' > /etc/dracut.conf.d/x13s_modules.conf + echo 'add_drivers+=" nvme phy_qcom_qmp_pcie pcie-qcom-ep i2c_hid_of i2c_qcom_geni leds-qcom-lpg pwm_bl qrtr pmic_glink_altmode gpio_sbu_mux phy_qcom_qmp_combo panel-edp msm phy_qcom_edp "' >> /etc/dracut.conf.d/x13s_modules.conf + echo 'install_items+=" /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn.xz /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn.xz "' >> /etc/dracut.conf.d/x13s_modules.conf +fi + +# delete some AMD GPU firmware +rm -rf /lib/firmware/amdgpu/{gc_,isp,psp}* + +# Decompress kernel modules, better for squashfs (boo#1192457) +find /lib/modules/*/kernel -name '*.ko.xz' -exec xz -d {} + +find /lib/modules/*/kernel -name '*.ko.zst' -exec zstd --rm -d {} + +for moddir in /lib/modules/*; do + depmod "$(basename "$moddir")" +done + +# Reuse what the macro does +rpm --eval "%fdupes /usr/share/licenses" | sh + +# disable the services included by dependencies +for s in purge-kernels; do + systemctl -f disable $s || true +done + +# Too big and will have to be dropped anyway (unmaintained, known security issues) +rm -rf /usr/lib*/libmfxhw*.so.* /usr/lib*/mfx/ + +# the new, optional nvidia gsp firmware blobs are huge - ~ 70MB +if [ -e /lib/firmware/nvidia ]; then + du -h -s /lib/firmware/nvidia + find /lib/firmware/nvidia -name gsp | xargs -r rm -rf + du -h -s /lib/firmware/nvidia +fi + +# The gems are unpackaged already, no need to store them twice +du -h -s /usr/lib*/ruby/gems/*/cache/ +rm -rf /usr/lib*/ruby/gems/*/cache/ + +# Not needed, boo#1166406 +rm -f /boot/vmlinux*.[gx]z +rm -f /lib/modules/*/vmlinux*.[gx]z + +# Remove generated files (boo#1098535) +rm -rf /var/cache/zypp/* /var/lib/zypp/AnonymousUniqueId /var/lib/systemd/random-seed + +# gnome-kiosk startup script, executable rights not preserved during copying +chmod +x /root/.local/bin/gnome-kiosk-script diff --git a/agama-installer-Leap/.osc/sources/fix_bootconfig b/agama-installer-Leap/.osc/sources/fix_bootconfig new file mode 100644 index 0000000..083247b --- /dev/null +++ b/agama-installer-Leap/.osc/sources/fix_bootconfig @@ -0,0 +1,93 @@ +#! /bin/bash + +# This script uses the KIWI 'editbootconfig' hook to modify the Live layout +# and ISO generation. +# +# Note that the 'editbootconfig' hook runs before the initrd is generated - +# this is too early for our purposes. So we have to do some gray area +# trickery: +# +# 1. Inject our modification scripts via config-cdroot.tar.xz into the Live tree. +# 2. Inject a 'xorriso' wrapper script into /usr/local/bin to hook into the ISO +# creation directly. +# This script (a) adjusts the boot config, (b) runs xorriso, and (c) makes +# it zIPL bootable on s390x. +# +set -ex + +dst=${1#iso:} + +# KIWI config +# Copy it to $dst from where it can be later read by xorriso +if [ -f .profile ]; then + source .profile + cp .profile "$dst" +fi + +arch=`uname -m` + +bootfix=$dst/fix_bootconfig.$arch +if [ -f $bootfix ] ; then + echo "bootconfig script found: \"$bootfix\"" +fi + +if [ $arch = ppc64le ] ; then + mkdir -p $dst/boot/grub2 + cp -r usr/share/grub2/powerpc-ieee1275 $dst/boot/grub2 + mv $dst/boot/grub2/powerpc-ieee1275/grub.elf $dst/boot/grub2 +fi + +cat <<XXX >/usr/local/bin/xorriso +#! /bin/bash + +set -x + +# get ISO file name and ISO volume id from xorriso parameters +for i in "\$@" ; do + if [ -n "\$iso_opt" ] ; then + iso_opt= + export iso="\$i" + continue + fi + if [ "\$i" = "-outdev" ] ; then + iso_opt=1 + continue + fi +done + +profile=$(echo "$kiwi_profiles" | tr "_" "-") +# keep in sync with ISO Volume ID set in the config.sh script +volid="Install-\$profile-$arch" + +# the simple rescue system reuses the installation live media +# but boots to the text-mode only and disables the Agama server +export RESCUE_SYSTEM_BOOT_SETTINGS="systemd.unit=multi-user.target \ +systemd.mask=agama.service systemd.mask=agama-dbus-monitor.service \ +systemd.mask=agama-ssh-issue.service systemd.mask=agama-avahi-issue.service \ +systemd.mask=agama-welcome-issue.service systemd.mask=agama-url-issue.service \ +systemd.mask=agama-certificate-issue.service \ +systemd.mask=agama-certificate-issue.path \ +systemd.mask=agama-certificate-wait.service" + +[ -x $bootfix ] && $bootfix $dst +rm -f $dst/fix_bootconfig.* $dst/.profile + +case $arch in + s390x) + /usr/bin/xorriso "\$@" -volid "\$volid" -boot_image any bin_path=boot/s390x/cd.ikr -boot_image any boot_info_table=off -boot_image any load_size=512 + err=\$? + [ -x /usr/bin/isozipl ] && isozipl "\$iso" + ;; + ppc64le) + /usr/bin/xorriso "\$@" -volid "\$volid" -boot_image any chrp_boot_part=on + err=\$? + ;; + *) + /usr/bin/xorriso "\$@" -volid "\$volid" + err=\$? +esac + +exit \$err +XXX + +chmod +x /usr/local/bin/xorriso diff --git a/agama-installer-Leap/.osc/sources/live-root.tar.xz b/agama-installer-Leap/.osc/sources/live-root.tar.xz new file mode 100644 index 0000000..57d5065 Binary files /dev/null and b/agama-installer-Leap/.osc/sources/live-root.tar.xz differ diff --git a/agama-installer-Leap/README.md b/agama-installer-Leap/README.md new file mode 100644 index 0000000..4922bbc --- /dev/null +++ b/agama-installer-Leap/README.md @@ -0,0 +1,35 @@ +# Live ISO + +This directory contains a set of files that are used to build the Agama Live ISO +image. + +## Sources + +The sources are maintained in the [Agama Git +repository](https://github.com/openSUSE/agama/tree/master/live) repository. + +## Building the ISO + +To build the ISO locally run the + +```shell +osc build -M <build_flavor> images +``` + +command. See the [_multibuild](_multibuild) file for the list of configured +build flavors. To build for example the openSUSE flavor run this command: + +```shell +osc build -M openSUSE images +``` + +Note: For building an ISO image you need a lot of free space at the `/var` +partition. Make sure there is at least 25GiB free space otherwise the build +might fail. + +## Changes + +Please *do not* change any file in the OBS repository. The files are +automatically uploaded from the [Agama Git +repository](https://github.com/openSUSE/agama/tree/master/live), your manual +changes will be lost at the next update. diff --git a/agama-installer-Leap/_constraints b/agama-installer-Leap/_constraints new file mode 100644 index 0000000..7e25096 --- /dev/null +++ b/agama-installer-Leap/_constraints @@ -0,0 +1,7 @@ +<constraints> + <hardware> + <disk> + <size unit="G">25</size> + </disk> + </hardware> +</constraints> diff --git a/agama-installer-Leap/_multibuild b/agama-installer-Leap/_multibuild new file mode 100644 index 0000000..98ded51 --- /dev/null +++ b/agama-installer-Leap/_multibuild @@ -0,0 +1,3 @@ +<multibuild> + <flavor>Leap_16.0</flavor> +</multibuild> diff --git a/agama-installer-Leap/_service b/agama-installer-Leap/_service new file mode 100644 index 0000000..4dd7053 --- /dev/null +++ b/agama-installer-Leap/_service @@ -0,0 +1,3 @@ +<services> + <service mode="buildtime" name="kiwi_metainfo_helper"/> +</services> diff --git a/agama-installer-Leap/agama-installer.changes b/agama-installer-Leap/agama-installer.changes new file mode 100644 index 0000000..8602dc3 --- /dev/null +++ b/agama-installer-Leap/agama-installer.changes @@ -0,0 +1,990 @@ +------------------------------------------------------------------- +Mon Sep 8 10:13:30 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Remove PXE images as it was agreed to use the Live iso (squashfs + images) for PXE installations too (related to bsc#1238848). + +------------------------------------------------------------------- +Mon Aug 25 10:48:37 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live-root: update final EULAs with the June 2024 delivery + +------------------------------------------------------------------- +Tue Aug 19 14:14:22 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Make /etc/resolv.conf available at /sysroot when applying the DUDs + (bsc#1248276). + +------------------------------------------------------------------- +Mon Aug 18 15:48:09 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add a "Boot from Hard Disk" option for ppc64le and drop the + "Other options..." submenu (bsc#1248161). + +------------------------------------------------------------------- +Mon Aug 18 10:20:51 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Load modules even if the module.order file is not given (bsc#1248138). + +------------------------------------------------------------------- +Wed Aug 13 10:27:39 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Copy kernel modules from DUDs to the updates/ directory (bsc#1246061). + +------------------------------------------------------------------- +Mon Aug 11 09:42:22 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Fix handling of Driver Update Disks when they are placed in local + file systems (bsc#1247682, bsc#1247776). + +------------------------------------------------------------------- +Thu Aug 7 15:39:03 UTC 2025 - Steffen Winterfeldt <snwint@suse.com> + +- fix DUD application in 99-agama-dud-apply.sh (jsc#PED-13262) + +------------------------------------------------------------------- +Thu Jul 31 16:58:42 UTC 2025 - Josef Reidinger <jreidinger@suse.com> + +- Boot by default from disk to avoid endless loop in unattended + installation (bsc#1247438) + +------------------------------------------------------------------- +Sun Jul 27 09:44:04 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- Do not fail if there are no rpm scriptlets to clean + (gh#agama-project/agama#2617). + +------------------------------------------------------------------- +Wed Jul 23 14:18:38 UTC 2025 - José Iván López González <jlopez@suse.com> + +- Ensure iSCSI initiator name is unique (bsc#1246280). + +------------------------------------------------------------------- +Wed Jul 23 08:08:23 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- In Firefox disable downloading the binary H.264 codec from + ciscobinary.openh264.org (gh#agama-project/agama#2601) + +------------------------------------------------------------------- +Tue Jul 22 10:05:30 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Include the "libopenssl-3-fips-provider" package in the installer + image to work properly with the "fips=1" boot parameter + (bsc#1246857) + +------------------------------------------------------------------- +Mon Jul 21 15:07:42 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 17 + +------------------------------------------------------------------- +Mon Jul 21 14:12:22 UTC 2025 - Ancor Gonzalez Sosa <ancor@suse.com> + +- Disabled udev rules that interfere with the activation process of + libstorage-ng (bsc#1246133 and bsc#1245159). + +------------------------------------------------------------------- +Thu Jul 17 21:51:19 UTC 2025 - Ancor Gonzalez Sosa <ancor@suse.com> + +- Masked some systemd services that interfere with the activation + process of libstorage-ng (bsc#1246133). + +------------------------------------------------------------------- +Thu Jul 17 08:08:40 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Added "inst.dud_insecure" boot option for ignoring SSL + certificate problems when downloading DUD from an HTTPS server + (related to bsc#1245393) +- Skip updating kernel module dependencies if the DUD image does + not provide any kernel module + +------------------------------------------------------------------- +Tue Jul 15 16:19:21 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed downloading DUD files from HTTPS URL + (link the SSL certificates and config from the root image) + (bsc#1245393) + +------------------------------------------------------------------- +Mon Jul 14 11:25:22 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Use "plaindir" repository type for the DUD package repository, + we do not need to create any repository index + (gh#agama-project/agama#2543) +- Automatically configure network when a remote DUD is used, + the "rd.neednet=1" boot option is not required anymore + (by default uses the DHCP configuration, can be changed via the + "ip=" boot option) + +------------------------------------------------------------------- +Thu Jul 10 13:09:26 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add support to update kernel modules from a Driver Update Disk + (jsc#AGM-158, jsc#PED-3670, gh#agama-project/agama#2548). + +------------------------------------------------------------------- +Wed Jul 9 12:07:21 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the tpm2.0-tools package (jsc#PED-13114). + +------------------------------------------------------------------- +Wed Jul 2 13:28:46 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live: fix_bootconfig.s390x: strip CDLABEL from the kiwi-generated + grub config (bsc#1245453) + +------------------------------------------------------------------- +Tue Jul 1 15:29:36 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com> + +- Make agama-installer build more reproducible (boo#1245501) + +------------------------------------------------------------------- +Mon Jun 30 15:51:37 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 16 + +------------------------------------------------------------------- +Fri Jun 20 14:57:08 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Install "gdm-systemd" and enable "gdm.service" to start the + graphical desktop, this is a new way for starting display managers + +------------------------------------------------------------------- +Thu Jun 19 09:06:50 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Add hyper-v on x86_64 and aarch64 only (related to bsc#1236961). + +------------------------------------------------------------------- +Wed Jun 18 11:29:08 UTC 2025 - David Diaz <dgonzalez@suse.com> + +- Make web bundled fonts available for the system via config + file (gh#agama-project/agama#2488, bsc#1236261). + +------------------------------------------------------------------- +Tue Jun 17 08:47:46 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Add hyper-v package (bsc#1236961). + +------------------------------------------------------------------- +Fri Jun 13 10:41:15 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add initial support to apply updates from RPM packages and DUD archives + (gh#agama-project/agama#2466). + +------------------------------------------------------------------- +Tue Jun 10 14:40:21 UTC 2025 - José Iván López González <jlopez@suse.com> + +- Add iscsiuio kernel driver (gh#agama-project/agama#2460). + +------------------------------------------------------------------- +Thu Jun 5 08:28:10 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Disable Firefox extensions autoupdate + (gh#agama-project/agama#2441) + +------------------------------------------------------------------- +Tue Jun 3 07:35:56 UTC 2025 - Michal Filka <mfilka@suse.cz> + +- Switched live ISO to use Wayland (gh#agama-project/agama#1781) +- Do not require microos-tools as we don't need it anymore. bsc#1237366 + +------------------------------------------------------------------- +Thu May 29 07:16:11 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Keep the nvmem kernel drivers (bsc#1243350) + +------------------------------------------------------------------- +Mon May 26 21:35:04 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Generate systemd network link files below Agama run folder to + be copied at the end of the installation (bsc#1237327, + bsc#1241969, gh#agama-project/agama#2404). + +------------------------------------------------------------------- +Mon May 26 19:51:55 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 15 + +------------------------------------------------------------------- +Mon May 26 14:22:03 UTC 2025 - Lukas Ocilka <locilka@suse.com> + +- Added a simple Rescue System by reusing the Installation Live + Image and disabling the Agama services + +------------------------------------------------------------------- +Wed May 21 12:42:34 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Do not set root= dracut configuration in PXE images + (gh#agama-project/agama#2377). + +------------------------------------------------------------------- +Tue May 20 08:42:29 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Disable sending Firefox usage data to Mozilla for increased + privacy, disable installing studies + +------------------------------------------------------------------- +Tue May 13 16:56:56 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Do not set the root in /boot/grub2/grub.cfg file, it was wrong + and the root is already set in the /boot/grub2/earlyboot.cfg + file (bsc#1236873) +- Replace underscores in the boot menu label by spaces + +------------------------------------------------------------------- +Wed May 7 07:07:33 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed locale cleanup to not delete all locales + (related to bsc#1238584) +- Keep only the UTF-8 locales, non-UTF-8 are not supported + +------------------------------------------------------------------- +Tue May 6 14:14:50 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add perl-XML-Simple for backward compatibility (jsc#PED-10122, + gh#agama-project/agama#2331). + +------------------------------------------------------------------- +Tue Apr 29 11:30:59 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Predefine some useful commands in the default bash history for + easier use. It can serve also as a hint how to save logs, etc... + +------------------------------------------------------------------- +Thu Apr 28 16:40:41 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Ensure the persistent NetworkManager connections are copied if + not explicitlly disabled (related to gh#agama-project/agama#2291) + +------------------------------------------------------------------- +Mon Apr 28 12:14:51 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed missing drivers in ppc64le initrd, fixes broken + installation via PXE (bsc#1241887) +- Removed the workaround for adding the xhci-pci-renesas driver, + now it is included in the default dracut drivers + +------------------------------------------------------------------- +Fri Apr 25 14:10:04 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Display Firefox devtool in fullscreen window, display the + console by default after pressing F12, display timestamps + in console + +------------------------------------------------------------------- +Thu Apr 24 16:40:41 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- bsc#1239777, bsc#1236885 gh#agama-project/agama#2291. + - Persist the NetworkManager runtime config created by + nm-initrd-generator when given explicitlly with the 'ip=' + kernel cmdline argument. + - Allow to disable the copy of the persistent configuration with + the inst.copy_network kernel cmdline argument. + - Do not copy the NetworkManager runtime configuration to the + target system anymore. + +------------------------------------------------------------------- +Thu Apr 24 15:11:35 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Filter out the special PXE boot parameters, do not pass them + to the installed system. Remove also most of the network + settings (gh#agama-project/agama#2280) + +------------------------------------------------------------------- +Wed Apr 23 08:39:34 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Rename "root" source directory to "live-root" to avoid confusion + with root/root directory +- Removed duplicate files which are located in root/root + (live-root/root now) + +------------------------------------------------------------------- +Wed Apr 23 05:47:23 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Include the kernel-default-optional package in the Live ISO + to support more hardware (bsc#1241099) + +------------------------------------------------------------------- +Tue Apr 22 14:14:54 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 14 + +------------------------------------------------------------------- +Thu Apr 10 05:20:55 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add a new SUSE_SLE_16_PXE_MINI that only includes the software + to use Agama remotely (jsc#PED-12152). + +------------------------------------------------------------------- +Tue Apr 8 15:52:18 UTC 2025 - Josef Reidinger <jreidinger@suse.com> + +- Fix boot from Hard Disk for EFI x86_64 (bsc#1240646) + +------------------------------------------------------------------- +Thu Apr 3 08:28:18 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Workaround for a not working file picker in local installation + (gh#agama-project/agama#2243) + +------------------------------------------------------------------- +Wed Apr 2 05:47:01 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Use "agama download" to fetch the info file (gh#agama-project/agama#2176). + +------------------------------------------------------------------- +Mon Mar 31 13:06:53 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Print also the IPv6 installer URLs in the console (bsc#1240197) + +------------------------------------------------------------------- +Thu Mar 27 15:56:11 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Version 14pre + +------------------------------------------------------------------- +Thu Mar 27 12:40:06 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 13 + +------------------------------------------------------------------- +Tue Mar 25 13:28:15 UTC 2025 - Giacomo Leidi <giacomo.leidi@suse.com> + +- live/src/agama-installer.kiwi: Adapt to latest patterns (SR#364982) + +------------------------------------------------------------------- +Mon Mar 24 10:57:22 UTC 2025 - Lukas Ocilka <locilka@suse.com> + +- Fixed DUD issues (gh#agama-project/agama#2199): + - Enabling the agama-dud service in the live media + - Making the agama-dud script executable + - Disabling dmesg on the console while DUD runs + +------------------------------------------------------------------- +Fri Mar 21 09:58:52 AM UTC 2025 - Lukas Ocilka <locilka@suse.com> + +- Added the initial functionality for inst.dud + (jsc#3670 and jsc#AGM-65) + +------------------------------------------------------------------- +Fri Mar 21 07:31:34 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add aaa_base-extras which includes setup-systemd-proxy-env.path + (gh#agama-project/agama#2184). + +------------------------------------------------------------------- +Thu Mar 20 15:52:36 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Fixed broken "inst.self_update" boot option + (gh#agama-project/agama#2175) + +------------------------------------------------------------------- +Tue Mar 18 16:32:07 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Remove /etc/nvme/host* files from the image (bsc#1238038) + +------------------------------------------------------------------- +Mon Mar 17 12:12:02 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed broken media check service (bsc#1239155) + +------------------------------------------------------------------- +Wed Mar 12 17:17:08 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- (gh#agama-project/agama#2142) + - Allow to set the static hostname using the hostname kernel + cmdline argument. + - Allow to disable the set of the hostname via DHCP using the + SetHostname kernel cmdline argument. + +------------------------------------------------------------------- +Tue Mar 11 16:29:40 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Bump the version to 13pre + +------------------------------------------------------------------- +Wed Mar 5 14:54:48 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Decrease the libzypp timeout from the default 60 seconds to + 20 seconds (Agama now does automatic retry) + (gh#agama-project/agama#2117) +- Display proper Agama version in the console + +------------------------------------------------------------------- +Wed Feb 26 11:50:17 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Add IPMI drivers to the initrd (bsc#1237354) + +------------------------------------------------------------------- +Wed Feb 26 08:08:25 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Install additional kernel drivers from the kernel-default-extra + package (gh#agama-project/agama#2059) + +------------------------------------------------------------------- +Wed Feb 26 06:51:38 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 12 + +------------------------------------------------------------------- +Mon Feb 24 17:07:07 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed build in SLE16, some packages to remove are not + preinstalled in SLE16, do not fail in that case + +------------------------------------------------------------------- +Mon Feb 24 16:19:03 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Reduce the PPC initrd size (gh#agama-project/agama#2026), + use the same solution from installation-images + (gh#openSUSE/installation-images#754) + +------------------------------------------------------------------- +Mon Feb 24 13:35:04 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Use a TrueType font in xterm + +------------------------------------------------------------------- +Fri Feb 21 16:34:08 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- ISO size reduction, delete not needed packages (python, Mesa, + libyui-qt, Qt libs,...) +- Use XZ compression for initrd to have a smaller image + (esp. important for PPC) (part of gh#agama-project/agama#2026) + +------------------------------------------------------------------- +Fri Feb 21 16:03:42 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed broken "live.password_dialog" boot option + (gh#agama-project/agama#2043) + +------------------------------------------------------------------- +Wed Feb 19 10:38:45 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the QEMU guest agent (gh#agama-project/agama#1816, + gh#agama-project/agama#2025). + +------------------------------------------------------------------- +Wed Feb 19 08:49:24 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Added support for giving a file URL with extra kernel cmdline + arguments (agama.info) which was known as the info file in + linuxrc. +- Added basic support for translating the ifcfg kernel cmdline arg + to its ip equivalent (gh#agama-project/agama#1896). +- Moved the kernel cmdline conf under /run/agama/cmdline.d + +------------------------------------------------------------------- +Wed Feb 19 07:37:51 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Fixed reboot delay caused by the root shell service + (gh#agama-project/agama#2018) +- Run the shell at tty8 (there was a collision with the login + prompt at tty2) + +------------------------------------------------------------------- +Tue Feb 18 13:14:30 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Rename kiwi profiles to avoid using dashes, using underscores + instead (gh#agama-project/agama#2014). +- Enable PXE support for SLE 16 distributions. +- Add Agama CLI Bash completion support. + +------------------------------------------------------------------- +Tue Feb 18 11:10:22 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Add the xhci-pci-renesas driver to the initrd if available + (workaround for bsc#1237235) + +------------------------------------------------------------------- +Wed Feb 12 12:02:39 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Do not print details about removed kernel drivers and firmware + files during build, this speeds up the build significantly + (~1 minute faster build) and avoids huge build log. +- Uncompress the kernel drivers, no need to compress them twice + (they are compressed by the squashfs as well). Compressing + all drivers together in the image is more effective than + compressing several thousands individual files. + This makes the image about 33MB smaller (on x86_64). (boo#1192457) +- Hardlink the duplicate licenses, makes the ISO ~1MB smaller + +------------------------------------------------------------------- +Wed Feb 12 10:17:47 UTC 2025 - Giacomo Leidi <giacomo.leidi@suse.com> + +- Add ISO publisher (gh#agama-project/agama#1967) + +------------------------------------------------------------------- +Wed Feb 12 08:04:11 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Start root shell in a free terminal (usually tty2) +- Fixed restarting the x11-autologin service +- Do not ask to restore the browser session after restarting it +- Print only kernel errors or more severe messages on the console, + avoid spamming the terminal with useless texts (bsc#1237056) + +------------------------------------------------------------------- +Fri Feb 7 16:31:50 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live: fix_bootconfig.s390x: restore initrd.off naming for the initrd offset + This essentially reverts the previous change (bsc#1236781, gh#agama-project/agama#1969, + gh#agama-project/agama#1974) + +------------------------------------------------------------------- +Fri Feb 7 09:15:02 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- In local installation prefer the language configured in the + UEFI firmware + +------------------------------------------------------------------- +Fri Feb 7 08:21:29 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Implemented media check functionality (bsc#1236103) + +------------------------------------------------------------------- +Fri Feb 7 08:10:46 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- Use better ISO Volume ID labels (bsc#1236401) +- Improve also the boot menu labels +- Use the graphical boot menu also in SLE +- Added UEFI firmware settings boot menu option + +------------------------------------------------------------------- +Tue Feb 4 13:25:35 UTC 2025 - Ladislav Slezák <lslezak@suse.com> + +- configure xterm to use the default fixed font also in the + configuration popup menu (Ctrl + click) to avoid crash +- bsc#1235478 + - tuned IceWM setup to disable some desktop functionality like + opening main menu using the Win key (by mfilka@suse.com) + +------------------------------------------------------------------- +Mon Feb 3 23:08:34 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- live: fix_bootconfig.s390x: use initrd.ofs for the initrd + offset filename (gh#agama-project/agama#1969) + +------------------------------------------------------------------- +Mon Feb 3 23:01:37 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- fix_bootimage: exit on failures (gh#agama-project/agama#1969) + +------------------------------------------------------------------- +Mon Jan 20 10:37:43 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add SUSE licenses (jsc#PED-11987). + +------------------------------------------------------------------- +Wed Jan 15 16:53:28 UTC 2025 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- Drop patterns-yast-yast2_basis requirement + yast packages should be installed per package and not as + a whole pattern. + (gh#agama-project/agama#1893). + +------------------------------------------------------------------- +Fri Jan 10 21:22:03 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 11 + +------------------------------------------------------------------- +Fri Jan 10 09:03:06 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Depend on Ruby's default version (gh#agama-project/agama#1872). + +------------------------------------------------------------------- +Wed Jan 8 12:10:39 UTC 2025 - Knut Anderssen <kanderssen@suse.com> + +- Make agama kernel cmdline options available in the sysroot at + /etc/agama.d/cmdline.conf and set it as a EnvironmentFile + in Agama related services (gh#agama-project/agama#1866). + +------------------------------------------------------------------- +Tue Dec 10 12:46:06 UTC 2024 - Michal Filka <mfilka@suse.com> + +- Updated config.sh to enable agama-dbus-monitor service + (gh#agama-project/agama#1824). + +------------------------------------------------------------------- +Thu Dec 5 11:19:10 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Fixed missing firmware for some drivers (gh#agama-project/agama#1756) + - Support wildcards ("*") in the references firmware files + - Handle symbolic links + +------------------------------------------------------------------- +Tue Dec 3 12:41:31 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Drop unneeded packages (gh#agama-project/agama#1805): + - xf86-video-* are obsoleted by the modesetting driver. + - xf86-input-wacom is obsoleted by libinput. + +------------------------------------------------------------------- +Mon Dec 2 14:53:12 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Use the installation-images config file for removing the kernel + drivers, it deletes even more not needed drivers and it is + a reliable source (related to gh#agama-project/agama#1665) +- The ISO size decreased by ~40MB + +------------------------------------------------------------------- +Thu Nov 28 08:58:21 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Less aggressive kernel driver cleanup, keep the multimedia + drivers which are needed as dependencies of other drivers + (usually graphic card drivers) (gh#agama-project/agama#1665) + +------------------------------------------------------------------- +Wed Nov 13 12:20:23 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Temporarily drop xf86-video-fbdev as it seems to be missing + in the repo + (gh#agama-project/agama#1752) + +------------------------------------------------------------------- +Wed Nov 13 10:29:31 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Add common xf86-video drives + x86-input for tablets + (gh#agama-project/agama#1752) + +------------------------------------------------------------------- +Thu Nov 7 11:32:09 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Add Leap,Leap-PXE profiles + The openSUSE profile is basically Tumbleweed + Leap has ruby version from SLE profile, and Leap specific branding + +------------------------------------------------------------------- +Tue Nov 5 12:41:19 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- config.sh: ignore non-existent translations if already missing. + +------------------------------------------------------------------- +Fri Sep 20 11:44:43 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 10 + +------------------------------------------------------------------- +Thu Sep 19 12:02:59 UTC 2024 - Joaquín Rivera <jeriveramoya@suse.com> + +- Revert to use tty7 (gh#openSUSE/agama#1582) + openQA tty expectations for installer are always in this tty. + The change to tty2 created an sporadic failure assigning tty2 + as a non-grafical one anyway in ppc64le and aarch64. + +------------------------------------------------------------------- +Mon Sep 16 15:46:23 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Define boot menu for all arches by scripts in config-cdroot + newly added x86_64 and aarch64 write stock copies from kiwi + generated grub.cfg + +- intel uefi boot fix from "Boot from disk item" (gh#openSUSE/agama#1609) + +- Keep -x on purpose for future trubleshooting (advice from Marcus) + +- Use $kiwi_iname instead of static agama-live reference in all of + config-cdroom/* with exception of s390x, where for some reason + we use SUSE Linux... string instead + + +------------------------------------------------------------------- +Mon Sep 9 15:55:16 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com> + +- Firefox: set browser.startup.homepage_override.mstone to ignore + (gh#openSUSE/agama#1593) + +------------------------------------------------------------------- +Sun Sep 8 06:28:35 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Use tty2 instead of tty7 (gh#openSUSE/agama#1582) + This matches openQA tty expectations for >SLES12 + +------------------------------------------------------------------- +Wed Sep 4 07:08:30 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Install Firefox on all architectures, install + MozillaFirefox-branding-SLE in the SLE image + (gh#openSUSE/agama#1574) + +------------------------------------------------------------------- +Tue Sep 3 14:50:58 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Firefox: disable the initial configuration workflow + (gh#openSUSE/agama#1573) + +------------------------------------------------------------------- +Fri Aug 30 13:05:53 UTC 2024 - Thomas Blume <Thomas.Blume@suse.com> + +- remove memcheck workaround in images.sh (bsc#1228621) + +------------------------------------------------------------------- +Mon Aug 26 10:05:01 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Include the procps instead of the procps4 package + (jsc#PED-8669, gh#openSUSE/agama#1554). + +------------------------------------------------------------------- +Mon Aug 19 17:54:55 UTC 2024 - Josef Reidinger <jreidinger@suse.com> + +- Add beside staging-build-keys also openSUSE-build-keys to not + require import of keys for official opensuse repos + (gh#openSUSE/agama#1538) + +------------------------------------------------------------------- +Mon Aug 12 12:38:45 UTC 2024 - Josef Reidinger <jreidinger@suse.com> + +- Do not fail if there is no opensuse keys on medium for PXE + (gh#openSUSE/agama#1535) + +------------------------------------------------------------------- +Fri Aug 2 08:02:41 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Display QR codes at the console for easier connecting to Agama + with smartphones (gh#openSUSE/agama#1522) + +------------------------------------------------------------------- +Thu Jul 25 13:18:38 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Increase the available disk space in the Live system to allow + installing additional development or debugging tools + (gh#openSUSE/agama#1501) + +------------------------------------------------------------------- +Fri Jul 19 09:43:06 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add a new profile for SLE-based distributions + (gh#openSUSE/agama#1475). +- Rename the package to "agama-installer". +- Do not include the full "base-x11" pattern but only the needed + packages. + +------------------------------------------------------------------- +Thu Jul 18 15:25:39 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Include Puppeteer in all ISO images (gh#openSUSE/agama#1477) +- Drop Playwright ISO flavor (gh#openSUSE/agama#1481) + +------------------------------------------------------------------- +Tue Jul 9 13:26:38 UTC 2024 - Knut Anderssen <kanderssen@suse.com> + +- Added agama-installer-openSUSE PXE images + (gh#openSUSE/agama#1450). + +------------------------------------------------------------------- +Thu Jul 4 11:24:47 UTC 2024 - Lubos Kocman <lubos.kocman@suse.com> + +- Update src/live to match rename to agama-installer-openSUSE + fixes issue that bot updates wrong spec/changes file + +- Update README and PXE to reference to agama-installer-openSUSE + +- Update PXE instructions to create 25GB image instead of 20 + Current agama can't deploy e.g. Leap 16 on 20GB disk image + with default layout including swap + +------------------------------------------------------------------- +Wed Jul 3 10:41:32 UTC 2024 - Knut Anderssen <kanderssen@suse.com> + +- Set agama as a transient hostname instead of an static one + (gh#openSUSE/agama#1432). + +------------------------------------------------------------------- +Fri Jun 28 13:40:35 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Syntax highlighting for "agama config edit" + (gh#openSUSE/agama#1411) + +------------------------------------------------------------------- +Thu Jun 27 14:33:24 UTC 2024 -Steffen Winterfeldt <snwint@suse.com> + +- Enable checksum generation for s390x agama live images + (gh#openSUSE/agama#1406). + +------------------------------------------------------------------- +Thu Jun 27 13:24:19 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 9 + +------------------------------------------------------------------- +Fri Jun 14 10:36:52 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Experimental Agama self-update (gh#openSUSE/agama#1341) + +------------------------------------------------------------------- +Thu Jun 13 16:07:08 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Added Tumbleweed OSS and Agama Staging repositories to the Live + system itself (gh#openSUSE/agama#1332) + +------------------------------------------------------------------- +Tue Jun 11 21:39:51 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the jq package to the image (gh#openSUSE/agama#1314). + +------------------------------------------------------------------- +Thu Jun 6 14:30:19 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Automatically generate the root password (gh#openSUSE/agama#1292) +- Allow setting the default root password in ISO metadata + (gh#openSUSE/agama#1290) +- Alloe setting teh root password from boot command line or set + it interactively during boot (gh#openSUSE/agama#1288) + +------------------------------------------------------------------- +Wed Jun 5 15:40:43 UTC 2024 - Knut Anderssen <kanderssen@suse.com> + +- Fix the cd.ikr content for booting the s390x iso + (gh#openSUSE/agama#1289). + +------------------------------------------------------------------- +Tue May 21 10:38:39 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Add the procps4 package to the image (gh#openSUSE/agama#1245). + +------------------------------------------------------------------- +Fri May 17 09:52:27 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 8 + +------------------------------------------------------------------- +Fri Feb 9 16:16:29 UTC 2024 - Ladislav Slezák <lslezak@suse.com> + +- Image size reduced: + - Removed translations and locale definitions for unsupported + languages, removed translations for unused tools + - Removed sound card and TV card drivers (not needed for the installer) + - Removed alsa packages + - Removed unused firmware files +- Require 25GB disk space for build (PXE build might fail with + just 20GB) + +------------------------------------------------------------------- +Thu Feb 1 08:27:29 UTC 2024 - Josef Reidinger <jreidinger@suse.com> + +- Improve multipath experience: preload kernel module and set probing + to smart option (bsc#1215598) + +------------------------------------------------------------------- +Thu Dec 21 15:43:06 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 7 + +------------------------------------------------------------------- +Mon Dec 4 16:03:08 UTC 2023 - José Iván López González <jlopez@suse.com> + +- Remove dependencies included by Agama packages (related to + gh#openSUSE/agama#911). + +------------------------------------------------------------------- +Fri Dec 1 14:23:09 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com> + +- Version 6 + +------------------------------------------------------------------- +Mon Nov 13 18:02:39 UTC 2023 - Josef Reidinger <jreidinger@suse.com> + +- Use by default zram to allow having 2GiB memory requirements + (jsc#PED-7303) + +------------------------------------------------------------------- +Mon Nov 6 08:30:01 UTC 2023 - Marcus Schäfer <marcus.schaefer@suse.com> + +- Fix s390 PXE build by using 'custom' bootloader for s390 target + There is an error inside grub2-zipl-setup which calls zipl that + then complains with "Unable to create temporary device node: No such device or address". + We don't see this issue with zipl in the kiwi integration test from here: + https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Testing_s390:tumbleweed + Thus I don't think it's an issue with kiwi but most probably a conflict + between the zipl setup and the raw btrfs filesystem usage in this case. + Long story short, the zipl issue needs extra inspection and the fix + here is simple because we actually don't need a bootloader to be installed + into the disk image because it is expected to be deployed via a remote + boot infrastructure. Therefore this change disables the bootloader + install for s390 by setting the attribute: bootloader="custom" + +------------------------------------------------------------------- +Tue Oct 24 08:04:07 UTC 2023 - Marcus Schäfer <marcus.schaefer@suse.com> + +- Add new profile ALP-PXE which builds a variant of the agama + installer that is an oem disk image which can be remote deployed + into a ramdisk to boot into the agama installation. The size constraints + are similar to the live-iso size. For more details please refer + to README.pxe + +---------------------------------------------------------------------------- +Mon Oct 23 12:03:55 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Add adobe-sourcehansans-jp-fonts +- Version 5 + +---------------------------------------------------------------------------- +Thu Oct 19 20:19:11 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Add libstorage-ng translations + +---------------------------------------------------------------------------- +Wed Sep 27 08:45:26 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Version 4 + +---------------------------------------------------------------------------- +Tue Sep 26 07:55:34 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Clean-up zypper logs + +---------------------------------------------------------------------------- +Tue Sep 26 05:28:35 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Added nvme-cli requested by https://bugzilla.suse.com/show_bug.cgi?id=1215572 + +---------------------------------------------------------------------------- +Wed Aug 30 09:44:04 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Add microos-tools package and enable proxy setup services. + +---------------------------------------------------------------------------- +Tue Aug 29 09:19:26 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Enable ppc64le images + +---------------------------------------------------------------------------- +Thu Aug 03 10:23:49 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Disable building the ALP image for ppc64le + +---------------------------------------------------------------------------- +Wed Aug 02 10:37:21 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Version 3 + +---------------------------------------------------------------------------- +Tue Aug 01 09:56:42 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Replace "default" flavor with a new "openSUSE" flavor that only includes + openSUSE-based products. +- Replace ALP-build-key with suse-build-key. + +---------------------------------------------------------------------------- +Mon Jul 31 11:34:26 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Replace ALP-build-key with suse-build-key + +---------------------------------------------------------------------------- +Tue Jul 25 14:43:39 UTC 2023 - José Iván López González <jlopez@suse.com> + +- Update filtering + +---------------------------------------------------------------------------- +Wed Jul 05 08:27:33 UTC 2023 - Imobach González Sosa <igonzalezsosa@suse.com> + +- Bump version to match Agama + +---------------------------------------------------------------------------- +Thu Jun 08 14:12:15 UTC 2023 - Josef Reidinger <jreidinger@suse.com> + +- add to live image also dbus services written in rust + +---------------------------------------------------------------------------- +Thu Jun 01 14:05:13 UTC 2023 - Ladislav Slezák <lslezak@suse.com> + +- osc copypac from project:YaST:Head:Agama package:agama-live revision:13 diff --git a/agama-installer-Leap/agama-installer.kiwi b/agama-installer-Leap/agama-installer.kiwi new file mode 100644 index 0000000..1e3af23 --- /dev/null +++ b/agama-installer-Leap/agama-installer.kiwi @@ -0,0 +1,183 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- OBS-ExclusiveArch: aarch64 ppc64le x86_64 s390x --> +<!-- OBS-Profiles: @BUILD_FLAVOR@ --> + +<image schemaversion="7.5" name="agama-installer"> + <description type="system"> + <author>YaST Team</author> + <contact>yast2-maintainers@suse.de</contact> + <specification>Agama Live ISO</specification> + </description> + <profiles> + <!-- use at most 16 characters for the profile name, it is used in the ISO Volume ID --> + <!-- which is limited to max. 32 characters --> + <profile name="Leap_16.0" description="openSUSE Leap image" import="true" /> + <profile name="openSUSE" description="openSUSE multiproduct image" import="true" /> + <!-- TODO: add SPx in the future --> + <profile name="SUSE_SLE_16" description="SLE-based image" import="true" /> + </profiles> + <preferences> + <version>17.0.0</version> + <packagemanager>zypper</packagemanager> + <locale>en_US</locale> + <keytable>us</keytable> + <timezone>Europe/Berlin</timezone> + <rpm-excludedocs>true</rpm-excludedocs> + <rpm-check-signatures>false</rpm-check-signatures> + <bootsplash-theme>bgrt</bootsplash-theme> + <bootloader-theme>openSUSE</bootloader-theme> + </preferences> + <!-- the ISO Volume ID is set by the fix_bootconfig script --> + <preferences arch="ppc64le" profiles="openSUSE,SUSE_SLE_16,Leap_16.0"> + <type image="iso" flags="dmsquash" firmware="ofw" mediacheck="true" publisher="SUSE LLC" editbootconfig="fix_bootconfig"> + <bootloader name="grub2" console="serial" timeout="10"/> + </type> + </preferences> + <preferences arch="aarch64,x86_64" profiles="openSUSE,SUSE_SLE_16,Leap_16.0"> + <type image="iso" flags="dmsquash" firmware="uefi" mediacheck="true" publisher="SUSE LLC" editbootconfig="fix_bootconfig"> + <bootloader name="grub2" timeout="10"/> + </type> + </preferences> + <preferences arch="s390x" profiles="openSUSE,SUSE_SLE_16,Leap_16.0"> + <type image="iso" flags="dmsquash" mediacheck="true" publisher="SUSE LLC" editbootconfig="fix_bootconfig"> + <bootloader name="custom" /> + </type> + </preferences> + <users> + <!-- the password is configured during boot --> + <user password="!*" home="/root" name="root" groups="root"/> + </users> + <repository type="rpm-md"> + <source path="obsrepositories:/"/> + </repository> + <!-- common set of packages (SSH-based and remote installation, etc.) --> + <packages type="image"> + <package name="avahi"/> + <package name="bind-utils"/> + <package name="systemd"/> + <package name="procps"/> + <package name="iputils"/> + <package name="hyper-v" arch="aarch64,x86_64"/> + <package name="vim"/> + <package name="vim-data"/> + <package name="grub2"/> + <package name="grub2-arm64-efi" arch="aarch64"/> + <package name="grub2-x86_64-efi" arch="x86_64"/> + <package name="grub2-i386-pc" arch="x86_64"/> + <package name="grub2-s390x-emu" arch="s390x" /> + <package name="grub2-powerpc-ieee1275" arch="ppc64le"/> + <package name="syslinux" arch="x86_64"/> + <package name="openssh"/> + <package name="iproute2"/> + <package name="less"/> + <package name="bash-completion"/> + <package name="dhcp-client"/> + <package name="which"/> + <package name="kernel-default"/> + <!-- the firmware files not referenced by any kernel driver are removed from the image --> + <package name="kernel-firmware"/> + <package name="adaptec-firmware"/> + <package name="atmel-firmware"/> + <package name="ipw-firmware"/> + <package name="mpt-firmware"/> + <package name="zd1211-firmware"/> + <package name="iscsiuio"/> + <package name="systemd-zram-service"/> <!--- needed for zram --> + <package name="shim" arch="aarch64,x86_64"/> + <package name="timezone"/> + <package name="dracut-kiwi-live"/> + <package name="blog" arch="s390x" /> + <package name="libblogger2" arch="s390x" /> + <package name="NetworkManager"/> + <package name="agama"/> + <package name="agama-yast"/> + <package name="agama-web-ui"/> + <package name="agama-cli"/> + <package name="agama-cli-bash-completion"/> + <package name="agama-autoinstall"/> + <package name="rubygem(agama-yast)"/> + <package name="rubygem(byebug)"/> + <package name="psmisc"/> + <package name="joe"/> + <package name="checkmedia"/> + <package name="libtss2-tcti-device0"/> + <package name="jq"/> + <package name="yast2-schema"/> + <package name="qrencode"/> + <package name="qemu-guest-agent" /> + <package name="aaa_base-extras"/> + <!-- to work correctly with the fips=1 boot parameter --> + <package name="libopenssl-3-fips-provider"/> + <!-- it can be used by users in AutoYaST pre-scripts --> + <package name="perl-XML-Simple"/> + <archive name="live-root.tar.xz"/> + <!-- IPMI support --> + <package name="ipmitool" /> + <!-- jsc#PED-13114 --> + <package name="tpm2.0-tools" /> + </packages> + + <!-- packages for local installation (desktop, browser, etc.) --> + <packages type="image" profiles="Leap_16.0,openSUSE,SUSE_SLE_16"> + <package name="bluez-firmware"/> + <package name="agama-integration-tests"/> + <package name="fontconfig"/> + <package name="fonts-config"/> + <package name="xauth"/> + <package name="MozillaFirefox"/> + <package name="gdm-systemd"/> + <package name="gnome-shell"/> + <package name="gnome-session-wayland"/> + <package name="gnome-kiosk"/> + <package name="spice-vdagent"/> + </packages> + + <!-- common packages for openSUSE Tumbleweed and Leap distributions --> + <packages type="image" profiles="Leap_16.0,openSUSE"> + <package name="agama-products-opensuse"/> + <package name="grub2-branding-openSUSE" arch="aarch64,x86_64"/> + <package name="MozillaFirefox-branding-openSUSE"/> + <package name="openSUSE-build-key"/> + <package name="patterns-openSUSE-base"/> + <package name="staging-build-key"/> + </packages> + <!-- additional packages for the Leap distributions --> + <packages type="image" profiles="Leap_16.0"> + <package name="openSUSE-repos-Leap"/> + <package name="kernel-default-extra"/> + <package name="kernel-default-optional"/> + </packages> + <!-- additional packages for the openSUSE Tumbleweed distribution --> + <packages type="image" profiles="openSUSE"> + <package name="openSUSE-repos-Tumbleweed"/> + </packages> + <!-- additional packages for the SLE distributions --> + <packages type="image" profiles="SUSE_SLE_16"> + <package name="agama-products-sle"/> + <package name="grub2-branding-SLE" arch="aarch64,x86_64"/> + <package name="patterns-base-base"/> + <package name="suse-build-key"/> + </packages> + <packages type="image" profiles="SUSE_SLE_16"> + <package name="MozillaFirefox-branding-SLE"/> + <package name="kernel-default-extra"/> + <package name="kernel-default-optional"/> + </packages> + <packages type="bootstrap"> + <package name="udev"/> + <package name="filesystem"/> + <package name="glibc-locale"/> + <package name="ca-certificates"/> + <package name="ca-certificates-mozilla"/> + </packages> + <packages type="bootstrap" profiles="Leap_16.0"> + <package name="Leap-release"/> + </packages> + <packages type="bootstrap" profiles="openSUSE"> + <package name="openSUSE-release"/> + <package name="openSUSE-release-ftp"/> + </packages> + <packages type="bootstrap" profiles="SUSE_SLE_16"> + <package name="SLES-release"/> + </packages> +</image> diff --git a/agama-installer-Leap/config-cdroot.tar.xz b/agama-installer-Leap/config-cdroot.tar.xz new file mode 100644 index 0000000..37d4169 Binary files /dev/null and b/agama-installer-Leap/config-cdroot.tar.xz differ diff --git a/agama-installer-Leap/config.sh b/agama-installer-Leap/config.sh new file mode 100644 index 0000000..f186b1c --- /dev/null +++ b/agama-installer-Leap/config.sh @@ -0,0 +1,360 @@ +#!/bin/bash + +set -ex + +# KIWI functions +test -f /.kconfig && . /.kconfig +test -f /.profile && . /.profile + +# greeting +echo "Configure image: [$kiwi_iname]..." + +# setup baseproduct link +suseSetupProduct + +# save the current build data, the %VARIABLES% are replaced by the OBS +# kiwi_metainfo_helper service before starting the build +mkdir -p /var/log/build +cat << EOF > /var/log/build/info +Build date: $(LC_ALL=C date -u -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%F %T %Z") +Build number: Build%RELEASE% +Image profile: $kiwi_profiles +Image version: $kiwi_iversion +Image type: $kiwi_type +Source URL: %SOURCEURL% +EOF + +# for reproducible builds: +echo -n > /var/log/alternatives.log +sed -i 's/# AutoInstalled generated.*/# AutoInstalled generated in kiwi reproducible build/' /var/lib/zypp/AutoInstalled # drop timestamp +rm -f /var/tmp/rpm-tmp.* + +# enable the corresponding repository +DISTRO=$(grep "^NAME" /etc/os-release | cut -f2 -d\= | tr -d '"' | tr " " "_") +REPO="/etc/zypp/repos.d/agama-${DISTRO}.repo" +if [ -f "${REPO}.disabled" ]; then + mv "${REPO}.disabled" $REPO +fi +rm /etc/zypp/repos.d/*.disabled + +# configure the repositories in the Live system +# import the OBS key for the systemsmanagement OBS project +rpm --import /tmp/systemsmanagement_key.gpg +rm /tmp/systemsmanagement_key.gpg +# import the IBS key for the Devel:YaST:Agama:Head project +rpm --import /tmp/Devel_YaST_Agama_Head_key.gpg +rm /tmp/Devel_YaST_Agama_Head_key.gpg +# import the openSUSE keys, but check if there is any +if stat -t /usr/lib/rpm/gnupg/keys/*.asc 2>/dev/null 1>/dev/null; then + rpm --import /usr/lib/rpm/gnupg/keys/*.asc +fi + +# decrease the libzypp timeout to 20 seconds (the default is 60 seconds) +sed -i -e "s/^\s*#\s*download.connect_timeout\s*=\s*.*$/download.connect_timeout = 20/" /etc/zypp/zypp.conf + +# activate services +systemctl enable sshd.service +systemctl enable NetworkManager.service +systemctl enable avahi-daemon.service +systemctl enable agama.service +systemctl enable agama-web-server.service +systemctl enable agama-dbus-monitor.service +systemctl enable agama-autoinstall.service +systemctl enable agama-hostname.service +systemctl enable agama-proxy-setup.service +systemctl enable agama-certificate-issue.path +systemctl enable agama-certificate-wait.service +systemctl enable agama-cmdline-process.service +systemctl enable agama-welcome-issue.service +systemctl enable agama-avahi-issue.service +systemctl enable agama-url-issue.service +systemctl enable agama-ssh-issue.service +systemctl enable agama-self-update.service +systemctl enable live-free-space.service +systemctl enable live-password.service +systemctl enable live-root-shell.service +systemctl enable checkmedia.service +systemctl enable qemu-guest-agent.service +systemctl enable setup-systemd-proxy-env.path +test -f /usr/lib/systemd/system/gdm.service && systemctl enable gdm.service +test -f /usr/lib/systemd/system/spice-vdagentd.service && systemctl enable spice-vdagentd.service +systemctl enable zramswap + +# set the default target +if [[ "$kiwi_profiles" == *MINI* ]]; then + # the MINI images do not include graphical environment + systemctl set-default multi-user.target +else + systemctl set-default graphical.target +fi + +# disable snapshot cleanup +systemctl disable snapper-cleanup.timer +systemctl disable snapper-timeline.timer + +# disable unused services +systemctl disable YaST2-Firstboot.service +systemctl disable YaST2-Second-Stage.service + +# Prevent premature activation of LVM (bsc#1246133) +systemctl mask lvm2-monitor.service +sed -i 's:# event_activation = 1:event_activation = 0:' /etc/lvm/lvm.conf + +# Prevent premature assembly of MD RAIDs (bsc#1245159) +touch /etc/udev/rules.d/64-md-raid-assembly.rules + +# the "eurlatgr" is the default font for the English locale +echo -e "\nFONT=eurlatgr.psfu" >> /etc/vconsole.conf + +### setup dracut for live system +arch=$(uname -m) +# keep in sync with ISO Volume ID set in the fix_bootconfig script +profile=$(echo "$kiwi_profiles" | tr "_" "-") +label="Install-$profile-$arch" + +echo "Setting default live root: live:LABEL=$label" +mkdir /etc/cmdline.d +echo "root=live:LABEL=$label" >/etc/cmdline.d/10-liveroot.conf +echo "root_disk=live:LABEL=$label" >>/etc/cmdline.d/10-liveroot.conf +echo 'install_items+=" /etc/cmdline.d/10-liveroot.conf "' >/etc/dracut.conf.d/10-liveroot-file.conf +echo 'add_dracutmodules+=" dracut-menu agama-cmdline agama-dud "' >>/etc/dracut.conf.d/10-liveroot-file.conf + +# decrease the kernel logging on the console, use a dracut module to do it early in the boot process +echo 'add_dracutmodules+=" agama-logging "' > /etc/dracut.conf.d/10-agama-logging.conf + +# add the ipmi drivers to the initrd (bsc#1237354) +extra_drivers=(acpi_ipmi ipmi_devintf ipmi_poweroff ipmi_si ipmi_ssif ipmi_watchdog) + +for driver in "${extra_drivers[@]}" +do + # check if the driver is present (allow a suffix like .zstd or .xz for optionally compressed drivers) + if find /lib/modules -type f -name "$driver.ko*" -print0 | grep -qz .; then + echo "Adding $driver driver to initrd..." + echo "add_drivers+=\" $driver \"" >> /etc/dracut.conf.d/10-extra-drivers.conf + else + echo "Skipping driver $driver, not found in the system" + fi +done + +if [ "${arch}" = "s390x" ]; then + # workaround for custom bootloader setting + touch /config.bootoptions +fi + +# Remove nvme hostid and hostnqn (bsc#1238038) +rm -f /etc/nvme/host* + +# Remove default iSCSI initiator name (bsc#1246280) +rm -f /etc/iscsi/initiatorname.iscsi + +# replace the @@LIVE_MEDIUM_LABEL@@ with the real Live partition label name from KIWI +sed -i -e "s/@@LIVE_MEDIUM_LABEL@@/$label/g" /usr/bin/live-password +sed -i -e "s/@@LIVE_MEDIUM_LABEL@@/$label/g" /usr/bin/checkmedia-service + +# Increase the Live ISO image size to have some extra free space for installing +# additional debugging or development packages. +# +# Unfortunately Kiwi does not allow to configure the image size for the "iso" +# build target (it can do that for "oem"). As a workaround here we create a big +# sparse file which in reality takes just little space in the image but Kiwi +# uses its virtual size for estimating the needed filesystem size. +# The file is later deleted at boot by the live-free-space service. +dd bs=1 count=1 seek=2G if=/dev/zero of=/var/lib/live_free_space + +################################################################################ +# Reducing the used space +# +# Profile specific cleanup +# + +# Extra cleanup for the MINI images +if [[ "$kiwi_profiles" == *MINI* ]]; then + # remove the GPU drivers, not needed when running in text mode only, + # the related firmware is deleted by the script below + rm -rf /usr/lib/modules/*/kernel/drivers/gpu + + # remove WiFi drivers + rm -rf /usr/lib/modules/*/kernel/drivers/net/wireless + # remove Bluetooth drivers + rm -rf /usr/lib/modules/*/kernel/drivers/bluetooth + rm -rf /usr/lib/modules/*/kernel/net/bluetooth +fi + +# Remove the SUSEConnect CLI tool from the openSUSE images and the mini PXE image, +# keep it in the SLE images, it might be useful for testing/debugging +# (Agama uses libsuseconnect.so directly via the Ruby bindings and does not need the CLI, +# registration in theory would be still possible even in the openSUSE images) +if [[ "$kiwi_profiles" == *MINI* ]] || [[ "$kiwi_profiles" == *Leap* ]] || [[ "$kiwi_profiles" == *openSUSE* ]]; then + rm -f /usr/bin/suseconnect +fi + +################################################################################ +# Generic cleanup in all images + +# Clean-up logs +rm /var/log/zypper.log /var/log/zypp/history + +# reduce the "vim-data" content, this package is huge (37MB unpacked!), keep only +# support for JSON (for "agama config edit") and Ruby (fixing/debugging the Ruby +# service) +rpm -ql vim-data | grep -v -e '/ruby.vim$' -e '/json.vim$' -e colors | xargs rm 2>/dev/null || true + +du -h -s /usr/{share,lib}/locale/ + +# Agama expects that the same locales available in the installation system can +# be also used later in the installed system and offers them in the web UI to +# select. But to make the Live ISO smaller it makes sense to delete the locales +# not supported by Agama itself. To solve this problem the list of available +# locales is saved to a file before deleting the locales not supported by Agama. +# Agama then reads this file instead of running the "localectl list-locales" +# command. +mkdir -p /etc/agama.d +# emulate "localectl list-locales" call, it cannot be used here because it +# insists on running systemd as PID 1 :-/ +ls -1 -d /usr/lib/locale/*.utf8 | sed -e "s#/usr/lib/locale/##" -e "s#utf8#UTF-8#" >/etc/agama.d/locales + +# delete translations and unsupported languages (makes ISO about 22MiB smaller) +# build list of ignore options for "ls" with supported languages like "-I cs -I cs_CZ ..." +# languages.json is like: { "ca-ES": "Català", "de-DE": "Deutsch", ...} +# jq prints ca-ES\nde-DE\n... +readarray -t IGNORE_OPTS < <(jq -r keys[] < /usr/share/agama/web_ui/languages.json | sed -e "s/\(.*\)-\(.*\)/-I\n\\1\n-I\n\1_\2/") +# additionally keep the en_US translations +ls -1 "${IGNORE_OPTS[@]}" -I en_US /usr/share/locale/ | xargs -I% sh -c "echo 'Removing translations %...' && rm -rf /usr/share/locale/%" + +# delete locale definitions for unsupported languages (explicitly keep the C and en_US locales) +readarray -t IGNORE_OPTS < <(jq -r keys[] < /usr/share/agama/web_ui/languages.json | sed -e "s/-/_/" -e "s/$/.utf8/" -e "s/^/-I\n/") +ls -1 "${IGNORE_OPTS[@]}" -I "en_US.utf8" -I "C.utf8" /usr/lib/locale/ | xargs -I% sh -c "echo 'Removing locale %...' && rm -rf /usr/lib/locale/%" + +# delete unused translations (MO files) +for t in zypper gettext-runtime p11-kit; do + rm -f /usr/share/locale/*/LC_MESSAGES/$t.mo +done +du -h -s /usr/{share,lib}/locale/ + +# remove printing support from GTK +rm -rf /usr/lib64/gtk-3*/*/printbackends +rpm -e --nodeps libcups2 cups-config || true + +# remove documentation +du -h -s /usr/share/doc/packages/ +rm -rf /usr/share/doc/packages/* +# remove man pages +du -h -s /usr/share/man +rm -rf /usr/share/man/* + +# python is installed just because of few simple scripts /usr/sbin/bcache-status (bcache-tools package) +# and /usr/sbin/xfs_protofile (xfsprogs package) +# both are not used by libtorage-ng, yast2-storage-ng nor agama +python=$(rpm -q --whatprovides python3-base || true) +if [ -n "$python" ]; then + echo "Python package: $python" + python_deps=$(rpm -e "$python" 2>&1 || true) + # avoid removing python accidentally because of some new unknown dependency + python_deps=$(echo "$python_deps" | grep -v -e "Failed dependencies" -e "needed by .* libpython" -e "needed by .* bcache-tools" -e "needed by .* xfsprogs" || true) + + if [ -z "$python_deps" ]; then + echo "Removing Python..." + # remove libpython as well + rpm -e --nodeps "$python" $(rpm -qa | grep "^libpython3") + else + echo "Warning: Extra Python dependency detected:" + echo "$python_deps" + echo "Keeping the python packages installed" + fi +fi + +# remove unused SUSEConnect libzypp plugins +rm -f /usr/lib/zypper/commands/zypper-migration +rm -f /usr/lib/zypper/commands/zypper-search-packages + +# delete some FireFox audio codec support +rm -f /usr/lib64/firefox/libmozavcodec.so + +# uninstall libyui-qt and libqt (pulled in by the YaST dependencies), +# not present in SLES, do not fail if not installed +if rpm -q --whatprovides libyui-qt libyui-qt-pkg > /dev/null; then + rpm -q --whatprovides libyui-qt libyui-qt-pkg | xargs rpm -e --nodeps +fi +rpm -qa | grep ^libQt | xargs --no-run-if-empty rpm -e --nodeps + +## removing drivers and firmware makes the Live ISO about 370MiB smaller +# +# Agama does not use sound, added by icewm dependencies +rpm -e --nodeps alsa alsa-utils alsa-ucm-conf || true + +# driver and firmware cleanup +# Note: openSUSE Tumbleweed Live completely removes firmware for some server +# network cars, because you very likely won't run TW KDE Live on a server. +# But for Agama installer it makes more sense to run on server. So we keep it +# and remove the drivers for sound cards and TV cards instead. Those do not +# make sense on a server. +du -h -s /lib/modules /lib/firmware + +# remove the multimedia drivers +# set DEBUG=1 to print the deleted drivers +/tmp/driver_cleanup.rb --delete +# remove the script and data, not needed anymore +rm /tmp/driver_cleanup.rb /tmp/module.list* + +# remove the unused firmware (not referenced by kernel drivers) +/tmp/fw_cleanup.rb --delete +# remove the script, not needed anymore +rm /tmp/fw_cleanup.rb +du -h -s /lib/modules /lib/firmware + +################################################################################ +# The rest of the file was copied from the openSUSE Tumbleweed Live ISO +# https://build.opensuse.org/projects/openSUSE:Factory:Live/packages/livecd-tumbleweed-kde/files/config.sh?expand=1 +# + +# Stronger compression for the initrd +echo 'compress="xz -9 --check=crc32 --memlimit-compress=50%"' >> /etc/dracut.conf.d/less-storage.conf + +# Kernel modules (+ firmware) for X13s +if [ "$(arch)" == "aarch64" ]; then + echo 'add_drivers+=" clk-rpmh dispcc-sc8280xp gcc-sc8280xp gpucc-sc8280xp nvmem_qcom-spmi-sdam qcom_hwspinlock qcom_q6v5 qcom_q6v5_pas qnoc-sc8280xp pmic_glink pmic_glink_altmode smp2p spmi-pmic-arb leds-qcom-lpg "' > /etc/dracut.conf.d/x13s_modules.conf + echo 'add_drivers+=" nvme phy_qcom_qmp_pcie pcie-qcom-ep i2c_hid_of i2c_qcom_geni leds-qcom-lpg pwm_bl qrtr pmic_glink_altmode gpio_sbu_mux phy_qcom_qmp_combo panel-edp msm phy_qcom_edp "' >> /etc/dracut.conf.d/x13s_modules.conf + echo 'install_items+=" /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn.xz /lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn.xz "' >> /etc/dracut.conf.d/x13s_modules.conf +fi + +# delete some AMD GPU firmware +rm -rf /lib/firmware/amdgpu/{gc_,isp,psp}* + +# Decompress kernel modules, better for squashfs (boo#1192457) +find /lib/modules/*/kernel -name '*.ko.xz' -exec xz -d {} + +find /lib/modules/*/kernel -name '*.ko.zst' -exec zstd --rm -d {} + +for moddir in /lib/modules/*; do + depmod "$(basename "$moddir")" +done + +# Reuse what the macro does +rpm --eval "%fdupes /usr/share/licenses" | sh + +# disable the services included by dependencies +for s in purge-kernels; do + systemctl -f disable $s || true +done + +# Too big and will have to be dropped anyway (unmaintained, known security issues) +rm -rf /usr/lib*/libmfxhw*.so.* /usr/lib*/mfx/ + +# the new, optional nvidia gsp firmware blobs are huge - ~ 70MB +if [ -e /lib/firmware/nvidia ]; then + du -h -s /lib/firmware/nvidia + find /lib/firmware/nvidia -name gsp | xargs -r rm -rf + du -h -s /lib/firmware/nvidia +fi + +# The gems are unpackaged already, no need to store them twice +du -h -s /usr/lib*/ruby/gems/*/cache/ +rm -rf /usr/lib*/ruby/gems/*/cache/ + +# Not needed, boo#1166406 +rm -f /boot/vmlinux*.[gx]z +rm -f /lib/modules/*/vmlinux*.[gx]z + +# Remove generated files (boo#1098535) +rm -rf /var/cache/zypp/* /var/lib/zypp/AnonymousUniqueId /var/lib/systemd/random-seed + +# gnome-kiosk startup script, executable rights not preserved during copying +chmod +x /root/.local/bin/gnome-kiosk-script diff --git a/agama-installer-Leap/fix_bootconfig b/agama-installer-Leap/fix_bootconfig new file mode 100644 index 0000000..083247b --- /dev/null +++ b/agama-installer-Leap/fix_bootconfig @@ -0,0 +1,93 @@ +#! /bin/bash + +# This script uses the KIWI 'editbootconfig' hook to modify the Live layout +# and ISO generation. +# +# Note that the 'editbootconfig' hook runs before the initrd is generated - +# this is too early for our purposes. So we have to do some gray area +# trickery: +# +# 1. Inject our modification scripts via config-cdroot.tar.xz into the Live tree. +# 2. Inject a 'xorriso' wrapper script into /usr/local/bin to hook into the ISO +# creation directly. +# This script (a) adjusts the boot config, (b) runs xorriso, and (c) makes +# it zIPL bootable on s390x. +# +set -ex + +dst=${1#iso:} + +# KIWI config +# Copy it to $dst from where it can be later read by xorriso +if [ -f .profile ]; then + source .profile + cp .profile "$dst" +fi + +arch=`uname -m` + +bootfix=$dst/fix_bootconfig.$arch +if [ -f $bootfix ] ; then + echo "bootconfig script found: \"$bootfix\"" +fi + +if [ $arch = ppc64le ] ; then + mkdir -p $dst/boot/grub2 + cp -r usr/share/grub2/powerpc-ieee1275 $dst/boot/grub2 + mv $dst/boot/grub2/powerpc-ieee1275/grub.elf $dst/boot/grub2 +fi + +cat <<XXX >/usr/local/bin/xorriso +#! /bin/bash + +set -x + +# get ISO file name and ISO volume id from xorriso parameters +for i in "\$@" ; do + if [ -n "\$iso_opt" ] ; then + iso_opt= + export iso="\$i" + continue + fi + if [ "\$i" = "-outdev" ] ; then + iso_opt=1 + continue + fi +done + +profile=$(echo "$kiwi_profiles" | tr "_" "-") +# keep in sync with ISO Volume ID set in the config.sh script +volid="Install-\$profile-$arch" + +# the simple rescue system reuses the installation live media +# but boots to the text-mode only and disables the Agama server +export RESCUE_SYSTEM_BOOT_SETTINGS="systemd.unit=multi-user.target \ +systemd.mask=agama.service systemd.mask=agama-dbus-monitor.service \ +systemd.mask=agama-ssh-issue.service systemd.mask=agama-avahi-issue.service \ +systemd.mask=agama-welcome-issue.service systemd.mask=agama-url-issue.service \ +systemd.mask=agama-certificate-issue.service \ +systemd.mask=agama-certificate-issue.path \ +systemd.mask=agama-certificate-wait.service" + +[ -x $bootfix ] && $bootfix $dst +rm -f $dst/fix_bootconfig.* $dst/.profile + +case $arch in + s390x) + /usr/bin/xorriso "\$@" -volid "\$volid" -boot_image any bin_path=boot/s390x/cd.ikr -boot_image any boot_info_table=off -boot_image any load_size=512 + err=\$? + [ -x /usr/bin/isozipl ] && isozipl "\$iso" + ;; + ppc64le) + /usr/bin/xorriso "\$@" -volid "\$volid" -boot_image any chrp_boot_part=on + err=\$? + ;; + *) + /usr/bin/xorriso "\$@" -volid "\$volid" + err=\$? +esac + +exit \$err +XXX + +chmod +x /usr/local/bin/xorriso diff --git a/agama-installer-Leap/live-root.tar.xz b/agama-installer-Leap/live-root.tar.xz new file mode 100644 index 0000000..57d5065 Binary files /dev/null and b/agama-installer-Leap/live-root.tar.xz differ