agama/live/root/tmp
Ladislav Slezák e61fddf473
Fixed firmware cleanup script (#1812)
## Problem

- See #1756
- Some firmware files were missing in the Live ISO

## Solution

There were basically two problems:

1. Few kernel modules use wildcards to specify the firmware files, e.g.
`ath11k/WCN6855/hw2.1/*`. That was not supported by the script, it
expected only individual file names referenced by drivers.
2. Some firmware files use symlinks, e.g. the driver refers to `foo.bin`
file but in some cases it is actually a symlink pointing to
`foo-1.0.bin`. The script then deleted the `foo-1.0.bin` file as it
looked like not used by drivers. The result was a dangling symlink and a
missing firmware file.

Both issues were fixed. The glob patterns are evaluated using the
`Dir.glob` function and if the referenced file is a symlink then it also
keeps the target file where the symlink points to.

## Testing

- Tested manually, the firmware for Atheros cards is now present
- I compared the result with installation-images and now we basically
include the same firmware as installation-images do in the classic
Tumbleweed installation
- The ISO size increased just by ~13MB, fortunately not that much...

---------

Co-authored-by: Imobach González Sosa <igonzalezsosa@suse.com>
2024-12-05 13:21:07 +01:00
..
Devel_YaST_Agama_Head_key.gpg fix(live): adapt the self-update script 2024-07-19 10:47:05 +01:00
driver_cleanup.rb Include the same drivers in the Live ISO as the installation-images do 2024-12-02 15:56:41 +01:00
fw_cleanup.rb Fixed firmware cleanup script (#1812) 2024-12-05 13:21:07 +01:00
module.list Include the same drivers in the Live ISO as the installation-images do 2024-12-02 15:56:41 +01:00
module.list.extra Include the same drivers in the Live ISO as the installation-images do 2024-12-02 15:56:41 +01:00
README.md Add Live ISO sources to Git (#1160) 2024-04-23 10:03:43 +02:00
systemsmanagement_key.gpg Add Tumbleweed OSS and Agama Staging repositories 2024-06-13 17:30:10 +02:00

Helper Files

This directory contains some helper file which are needed when building the ISO image. The files are deleted at the end of build and are not included in the final image.