Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
6abef5d
feat(products): add a SLES 15.6 definition
imobachgs Dec 3, 2024
c593d0f
fix(service): fix wrong method name
imobachgs Dec 3, 2024
fc4da53
feat(service): include registration requirement in the product
imobachgs Dec 4, 2024
68dad4c
feat(rust): include registration requirement in the product
imobachgs Dec 4, 2024
fbbb7a7
feat(products): add registration requirement to SLE 15 SP6
imobachgs Dec 4, 2024
d0beb0b
feat(service): move the "version" field to the top-level
imobachgs Dec 4, 2024
bf7d346
refactor(rust): change registration "not_required" to "no"
imobachgs Dec 4, 2024
9aac426
chore(products): temporarily move SLE 15 definition to openSUSE package
imobachgs Dec 4, 2024
9906fc0
chore(products): swap SLE 15 and SLE 16 definitions
imobachgs Dec 4, 2024
22b734d
quick POC to fix registration:
jreidinger Dec 4, 2024
b9c0155
make rubocop happy and fix tests
jreidinger Dec 4, 2024
3e3708c
fix(web): add registration to Product type
dgdavid Dec 4, 2024
56fa368
fix creating credentials
jreidinger Dec 4, 2024
916d41e
feat(web): allow setting a route only for registrable products
dgdavid Dec 4, 2024
34d311d
feat(web): add product registration interface
dgdavid Dec 4, 2024
0063a08
fix(web): use "supportive paths" for InstallButton
dgdavid Dec 4, 2024
5aec29f
quick POC to fix registration: (#1807)
imobachgs Dec 4, 2024
64d27a3
fix(service): do not initialize the target in add_service
imobachgs Dec 4, 2024
656091e
fix(web): temporarily disable a TS problem
imobachgs Dec 4, 2024
945b00f
fix reading global credentials file
jreidinger Dec 5, 2024
35f303f
fix(web): mount registration alert only in valid paths
dgdavid Dec 5, 2024
8a886df
Merge remote-tracking branch 'origin/product-registration' into produ…
jreidinger Dec 5, 2024
f385dda
adapt tests for workaround
jreidinger Dec 5, 2024
7997a40
fix reading global credentials file (#1810)
imobachgs Dec 5, 2024
f532b37
fix: use registration requirement capitalization
imobachgs Dec 5, 2024
1d6c5a9
fix(web): adapt the registration alert condition
imobachgs Dec 5, 2024
0bb69a7
fix(web): show registration alert in all sections
dgdavid Dec 5, 2024
42ad4a2
fix(web): adapt broken registration conditions
dgdavid Dec 5, 2024
a923a26
fix(web): update tests for core/Page.Content
dgdavid Dec 5, 2024
564d7cf
fix(web): add basic tests for registration page
dgdavid Dec 5, 2024
12cbb83
fix(web) minor changes for overview page
dgdavid Dec 5, 2024
5cd947b
fix(web) make test suite work again
dgdavid Dec 5, 2024
7c3bd3b
fix(web): make test suite work again
dgdavid Dec 5, 2024
c14bccc
fix(web): fix product registration values
dgdavid Dec 5, 2024
59c389c
Merge branch 'master' into product-registration
imobachgs Dec 13, 2024
123a751
feat(rust): remove the SLES 15.6 definition
imobachgs Dec 13, 2024
8287710
feat(rust): enable the registration for SLE 16
imobachgs Dec 13, 2024
4ec593a
fix(web): remove an unused variable
imobachgs Dec 13, 2024
3135178
feat(products): enable registration for SLES for SAP
imobachgs Dec 13, 2024
8182c1c
fix(web): make ESLint happy
imobachgs Dec 13, 2024
225038d
Update web translation files
yast-bot Dec 22, 2024
a73b4dd
Update service PO files
yast-bot Dec 22, 2024
f03d6fe
Update translations in the product files
yast-bot Dec 22, 2024
767b8d7
refactor(web): migrate core/EmailInput to TypeScript
dgdavid Dec 19, 2024
7a412fd
refactor(web): migrate src/client to TypeScript
dgdavid Dec 23, 2024
77cf091
refactor(web): migrate contexts to TypeScript
dgdavid Dec 26, 2024
ea242a3
refactor(web): migrate src/Protected to TypeScript
dgdavid Dec 26, 2024
760a780
refactor(web): migrate i18n to TypeScript
dgdavid Dec 26, 2024
1e777ec
refactor(web): migrate src/agama to TypeScript
dgdavid Dec 26, 2024
9ee2f61
Update web translation files (#1849)
dgdavid Dec 26, 2024
3bdbd16
Update service PO files (#1850)
dgdavid Dec 26, 2024
42c39da
Update translations in the product files (#1851)
dgdavid Dec 26, 2024
fd989ff
refactor(web): migrate src/utils to TypeScript
dgdavid Dec 27, 2024
5c38fc8
refactor(web): migrate test-utils to TypeScript
dgdavid Dec 27, 2024
7ecdd9e
refactor utils
dgdavid Dec 27, 2024
4f8dcdb
fix(web): adjust some types in ZFCP components
dgdavid Dec 27, 2024
8c63e13
fix(web): type adjustments
dgdavid Dec 27, 2024
b6e8984
fix(web): please ESLint
dgdavid Dec 27, 2024
02b4a4b
refactor(web): migrate router to TypeScript
dgdavid Dec 27, 2024
96f3db6
refactor(web): migrate src/index to TypeScript
dgdavid Dec 27, 2024
6ccb663
refactor(web): migrate setupTests to TypeScript
dgdavid Dec 27, 2024
21d5247
Update service PO files
yast-bot Dec 29, 2024
815415d
refactor(web): migrate hooks to TypeScript
dgdavid Dec 30, 2024
c1684a8
refactor(web): migrate user utils to TypeScript
dgdavid Dec 30, 2024
e97c575
refactor(web): move index files to TypeScript
dgdavid Jan 2, 2025
62e1b04
refactor(web): migrate core/RowActions to TypeScript
dgdavid Jan 2, 2025
aea35db
refactor(web): migrate core/NumericTextInput to TypeScript
dgdavid Jan 2, 2025
b01c27e
fix(web): please ESLint after migrating NumericTextInput
dgdavid Jan 2, 2025
a1e82ef
Update service PO files (#1856)
dgdavid Jan 2, 2025
ef15c76
refactor(web): migrate core/ListSearch to TypeScript
dgdavid Jan 2, 2025
7ec3d97
refactor(web): drop core/SectionSkeleton
dgdavid Jan 2, 2025
dfa51aa
refactor(web): migratre layout/Center to TypeScript
dgdavid Jan 2, 2025
8876cf5
refactor(web): migrate to core/IssuesHint to TypeScript
dgdavid Jan 2, 2025
39bdcb6
refactor(web): migrate L10n page and sections to TypeScript
dgdavid Jan 2, 2025
0bb51fd
refactor(web): migrate core/ProgressText to TypeScript
dgdavid Jan 2, 2025
d6815ce
refactor(web): migrate ProductSelectionProgress to TypeScript
dgdavid Jan 2, 2025
5a95f48
migrate answers example from yaml to json
jreidinger Jan 3, 2025
b1f89d3
fix(web): improve useNodeSiblings type readbility
dgdavid Jan 3, 2025
6d803cc
fix(web): stop using translations in test files
dgdavid Jan 3, 2025
6ecc316
fix(web): revert copyright miss-updated
dgdavid Jan 3, 2025
c08869b
refactor(web): continue TypeScript migration (#1857)
dgdavid Jan 3, 2025
428ecf4
Update web translation files
yast-bot Jan 5, 2025
d994b62
Update service PO files
yast-bot Jan 5, 2025
bbe522d
change product description for SLES4SAP (bsc#1235023)
angelabriel Jan 6, 2025
4045c06
change product description for SLES4SAP (bsc#1235023) (#1863)
lslezak Jan 6, 2025
5830f3f
Drop the integration tests code, update the CI
lslezak Jan 6, 2025
ba20646
Merge remote-tracking branch 'origin/master' into merge_master_reg
jreidinger Jan 7, 2025
c479a77
refactor(integration-tests): Drop the integration tests code, update …
lslezak Jan 7, 2025
6fd4bda
fix(web): please TypeScript
dgdavid Jan 7, 2025
6d0919e
fix(web): do not show the registration alert when registration type u…
dgdavid Jan 7, 2025
52f4da9
Merge master reg (#1864)
dgdavid Jan 7, 2025
9e7f3d3
Drop yast from Leap 16 selection
lkocman Jan 7, 2025
cd6bfd1
Drop yast from Leap 16 selection (#1867)
jreidinger Jan 7, 2025
9aedc04
Initial implementation for agama cmdline conf
teclator Jan 7, 2025
57054c9
Enable agama-cmdline service
teclator Jan 8, 2025
7e4e6db
fix id to match scc
jreidinger Jan 8, 2025
b8a69c5
Use a EnvironmentFile for agama
teclator Jan 8, 2025
c3b4627
Update web translation files (#1860)
imobachgs Jan 8, 2025
e88f499
Update service PO files (#1861)
imobachgs Jan 8, 2025
90a2d77
Added changelog
teclator Jan 8, 2025
9a98871
fix(rust): handle registration errors properly
imobachgs Jan 8, 2025
9807c91
allow sles4SAP only on supported architectures
jreidinger Jan 8, 2025
f1de0ad
Update live/root/usr/lib/dracut/modules.d/99agama-cmdline/agama-cmdli…
teclator Jan 8, 2025
c75fb72
fix(web): restore cancel behaviour at product selection page
dgdavid Jan 8, 2025
a2ae276
doc(web): update changes file
dgdavid Jan 8, 2025
cbc78f6
fix(live): use gems for the default Ruby version
imobachgs Jan 8, 2025
83ef39c
fix(web): restore cancel behavior at product selection page (#1871)
dgdavid Jan 8, 2025
3850472
doc(rust): update changes files
imobachgs Jan 8, 2025
6bd88fc
Fix indentation
teclator Jan 8, 2025
1ec82fe
Initial implementation for storing Agama configuration provided by ke…
teclator Jan 8, 2025
0cedb6a
fix product registration finish
jreidinger Jan 8, 2025
395bbe4
fix(web): use product ID instead of generated slug
dgdavid Jan 8, 2025
d66322c
make rubocop happy
jreidinger Jan 8, 2025
9e7b1b5
doc(web): add entry in changes file
dgdavid Jan 8, 2025
496dae3
fix(web): use product ID instead of generated slug (#1873)
lslezak Jan 8, 2025
6ffe7c2
Merge remote-tracking branch 'origin/master' into product-registration
jreidinger Jan 8, 2025
83a8c0d
fix(web): fix duplicated variable in ProductSelectionPage tests
imobachgs Jan 8, 2025
2c87855
copy proper location of product credentials
jreidinger Jan 9, 2025
5014eff
make rubocop happy
jreidinger Jan 9, 2025
d4771bd
feat: implement product registration support (#1809)
jreidinger Jan 9, 2025
cad2827
Check if multipath is forced
teclator Jan 9, 2025
6ac4b4a
Fix variable typo in agama service
teclator Jan 9, 2025
8842802
Fix sh editorconfig
teclator Jan 9, 2025
bd44ee7
Added changelog
teclator Jan 9, 2025
ba3f8dd
Activate multipath in case of forced by the user and fix environment …
teclator Jan 9, 2025
f849c3b
due to new xtasks compilation we need to increase a bit size of machi…
jreidinger Jan 9, 2025
aae6266
Changes
jreidinger Jan 9, 2025
ab55224
add issue
jreidinger Jan 9, 2025
a0dc904
fix(web): App uses the Suspense API while loading the selected product
imobachgs Jan 9, 2025
2eb9ad2
fix(web): App uses the Suspense API while loading the selected produc…
imobachgs Jan 9, 2025
4eaa894
Update rust/package/agama.changes
jreidinger Jan 9, 2025
95e8542
Increase constraint (#1876)
jreidinger Jan 9, 2025
b30e751
fix(web): map product issues to registration path
dgdavid Jan 9, 2025
46a4610
fix(web): map product issues to registration path (#1878)
dgdavid Jan 9, 2025
cc69ca8
feat(rust): disable HTTP caching
imobachgs Jan 10, 2025
bcb5fe5
doc(rust): update changes files
imobachgs Jan 10, 2025
ce0aeb0
doc(live): update changes file
imobachgs Jan 10, 2025
042e904
Merge branch 'master' into kiwi-use-default-ruby
imobachgs Jan 10, 2025
9a58bf8
Merge branch 'master' into cache-control
imobachgs Jan 10, 2025
9ac7280
feat(rust): disable HTTP caching (#1880)
imobachgs Jan 10, 2025
61cf746
fix(live): use gems for the default Ruby version (#1872)
imobachgs Jan 10, 2025
1dae787
fix(web): warn the user when using the new storage settings
imobachgs Jan 10, 2025
7c4454a
fix(web): better wording in storage warning
imobachgs Jan 10, 2025
4806ad0
chore(web): add a unit test for the storage warning
imobachgs Jan 10, 2025
7bac827
refactor(web): drop the deregister action
dgdavid Jan 10, 2025
d17bae8
doc(web): update the changes file
imobachgs Jan 10, 2025
765a14f
fix(web): warn the user when using the new storage settings (#1881)
imobachgs Jan 10, 2025
fb35a84
chore(web): adapt ProductRegistrationPage tests
imobachgs Jan 10, 2025
0bf09ba
doc(web): add entry to changes file
dgdavid Jan 10, 2025
c843f38
fix(web): please ESLint
dgdavid Jan 10, 2025
39725f8
Merge branch 'master' into remove-deregister-action
dgdavid Jan 10, 2025
d27e3a9
refactor(web): do not allow unregistering a product (#1882)
dgdavid Jan 10, 2025
ac32b3b
chore(products): update SLES name
imobachgs Jan 10, 2025
0a46329
doc(products): update changes file
imobachgs Jan 10, 2025
56781e5
chore(products): update SLES name (#1883)
imobachgs Jan 10, 2025
6a9b957
fix(storage): clean D-Bus objects when reprobing
joseivanlopez Jan 10, 2025
4d8fa92
fix(web): reprobe storage in device selector if needed
joseivanlopez Jan 10, 2025
2640624
fix(web): reprobe storage in proposal page if needed
joseivanlopez Jan 10, 2025
9b885bb
fix(web): add back button to iSCSI page
joseivanlopez Jan 10, 2025
df7c086
service: changelog
joseivanlopez Jan 10, 2025
75b30a8
web: changelog
joseivanlopez Jan 10, 2025
e588602
fix(storage): reprobe and recalculate proposal (#1884)
joseivanlopez Jan 10, 2025
4a87ac6
feat(products): add the user patterns list to SLES
imobachgs Jan 10, 2025
5749cb7
doc(products): update changes file
imobachgs Jan 10, 2025
908ccfa
feat(products): add the user patterns list to SLES (#1885)
imobachgs Jan 10, 2025
5bcc446
Fix the OBS release GitHub Action
lslezak Jan 10, 2025
085cbd3
Submit also the product definition package
lslezak Jan 10, 2025
0e934e8
Fix the OBS release GitHub Action (#1886)
lslezak Jan 10, 2025
1150d8d
chore: bump version
imobachgs Jan 10, 2025
8c95258
chore: update changes files
imobachgs Jan 10, 2025
76a343b
Update web translation files
yast-bot Jan 12, 2025
8b96b3f
Update service PO files
yast-bot Jan 12, 2025
d5f93f1
Update web translation files (#1888)
imobachgs Jan 12, 2025
e206964
Update service PO files (#1889)
imobachgs Jan 12, 2025
edb54f0
feat(products): update the SLES4SAP ID
imobachgs Jan 13, 2025
570d9c4
doc(products): update changes file
imobachgs Jan 13, 2025
f143791
feat(products): update SLES4SAP ID (#1890)
imobachgs Jan 13, 2025
3ab318a
Update to release 11 (#1887)
imobachgs Jan 13, 2025
3b8cac1
fix(web): allow changing product only if not registered
dgdavid Jan 13, 2025
3b7f3a7
doc(web): update changes file
dgdavid Jan 13, 2025
056e4c3
fix(web): do not allow changing product after registering one (#1892)
dgdavid Jan 14, 2025
0f83668
Merge branch 'master' into storage-config-ui-merge-master
dgdavid Jan 14, 2025
8d41d39
fix(web): remove old useEffect
joseivanlopez Jan 15, 2025
4e44a9e
fix(storage): recalculate proposal only if there is a config
joseivanlopez Jan 15, 2025
f69d0df
fix(web): add missing method
joseivanlopez Jan 15, 2025
842500e
migrate answers example from yaml to prettified json
mvidner Jan 15, 2025
e3944ce
migrate answers example from yaml to json (#1858)
jreidinger Jan 15, 2025
83c9ccb
fix(service): add missing gems
joseivanlopez Jan 15, 2025
a63832b
fix(web): make BootSelection page test work again
dgdavid Jan 15, 2025
9a4a8ec
service: changelog
joseivanlopez Jan 15, 2025
caeb5d4
fix(service): add missing gems (#1899)
joseivanlopez Jan 15, 2025
6543982
Merge branch 'master' into storage-config-ui-merge-master
joseivanlopez Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
root = true

# 2 space indentation
[{*.sh}]
[*.sh]
indent_style = space
indent_size = 2
19 changes: 12 additions & 7 deletions .github/workflows/ci-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ jobs:
fetch-depth: 0
fetch-tags: true

- name: Checkout integration tests
uses: actions/checkout@v4
with:
path: integration-tests
repository: ${{ github.repository_owner }}/integration-tests
fetch-depth: 1

- name: Build integration test
run: npm ci && ESLINT=0 npm run build
working-directory: ./integration-tests

- name: Created shared YaST log directory
run: mkdir -p /tmp/log/YaST2 /tmp/log/puppeteer

Expand Down Expand Up @@ -71,16 +82,10 @@ jobs:
- name: Run the Agama smoke test
run: podman exec agama curl http://localhost

- name: Run the Puppeteer tests
# update the test file and the runner script from git
run: podman exec agama bash -c
"cp /checkout/puppeteer/tests/test_root_password.js /usr/share/agama/integration-tests/tests &&
cp /checkout/puppeteer/agama-integration-tests /usr/bin/agama-integration-tests"

- name: Run the Puppeteer tests
# run the test
run: podman exec agama bash -c "cd /var/log/puppeteer &&
agama-integration-tests /usr/share/agama/integration-tests/tests/test_root_password.js"
node --enable-source-maps --test-reporter=spec /checkout/integration-tests/dist/test_root_password.js"

- name: Again show the D-Bus services log
# run even when any previous step fails
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/obs-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Publish a new version
# - Submit the packages to systemsmanagement:Agama:Devel
# - Submit the packages to the OBS project defined in OBS_PROJECT_RELEASE variable
# at GitHub (in the original repository it is set to systemsmanagement:Agama:Release,
# see https://github.com/agama-project/agama/settings/variables/actions,
# you might change that in forks)
# - Send submit requests

name: Release
Expand All @@ -11,29 +14,35 @@ on:
- v[0-9]*

jobs:
# Note: agama-integration-tests and the Live ISO are currently not submitted
# Note: the Live ISO is currently not submitted

update_rust:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
install_packages: obs-service-cargo_audit obs-service-cargo_vendor
project_name: systemsmanagement:Agama:Devel
package_name: agama
service_file: rust/package/_service

update_web:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
install_packages: obs-service-node_modules
project_name: systemsmanagement:Agama:Devel
package_name: cockpit-agama
package_name: agama-web-ui
service_file: web/package/_service

update_service:
uses: ./.github/workflows/obs-service-shared.yml
# pass all secrets
secrets: inherit

update_products:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
project_name: systemsmanagement:Agama:Devel
package_name: agama-products
service_file: products.d/_service
24 changes: 0 additions & 24 deletions .github/workflows/obs-staging-integration-tests.yml

This file was deleted.

9 changes: 9 additions & 0 deletions doc/answers_example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"answers": [
{
"answer": "decrypt",
"class": "storage.luks_activation",
"password": "my_password"
}
]
}
3 changes: 0 additions & 3 deletions doc/answers_example.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions live/root/usr/lib/dracut/modules.d/99agama-cmdline/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dracut agama-cmdline module
-------------------------------

This module writes any agama configuration given through the kernel cmdline
to its own cmdline conf file copying it to the sysroot.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#! /bin/sh

[ -e /dracut-state.sh ] && . /dracut-state.sh

. /lib/dracut-lib.sh

get_agama_args() {
local _i _found

for _i in $CMDLINE; do
case $_i in
LIBSTORAGE_* | YAST_* | agama* | Y2* | ZYPP_*)
_found=1
;;
esac

if [ -n "$_found" ]; then
printf "Agama variable found ($_i)"
if ! strstr "$_i" "="; then
# Set the variable as a boolean if there is no assignation
_i="${_i}=1"
fi
echo $_i >>/etc/cmdline.d/99-agama-cmdline.conf
fi
unset _found
done

return 0
}

get_agama_args
21 changes: 21 additions & 0 deletions live/root/usr/lib/dracut/modules.d/99agama-cmdline/module-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# called by dracut
check() {
return 0
}

# called by dracut
depends() {
return 0
}

installkernel() {
return 0
}

# called by dracut
install() {
inst_hook cmdline 99 "$moddir/agama-cmdline-conf.sh"
inst_hook pre-pivot 99 "$moddir/save-agama-conf.sh"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#! /bin/sh

[ -e /dracut-state.sh ] && . /dracut-state.sh

. /lib/dracut-lib.sh

if [ -e /etc/cmdline.d/99-agama-cmdline.conf ]; then
echo "Creating agama conf"
mkdir -p "$NEWROOT/etc/agama.d"
cp /etc/cmdline.d/99-agama-cmdline.conf "$NEWROOT/etc/agama.d/cmdline.conf"
fi
17 changes: 17 additions & 0 deletions live/src/agama-installer.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
-------------------------------------------------------------------
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>

Expand Down
10 changes: 3 additions & 7 deletions live/src/agama-installer.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<profile name="Leap-PXE" description="openSUSE Leap OEM image for remote installation" import="true" />
</profiles>
<preferences>
<version>10.0.0</version>
<version>11.0.0</version>
<packagemanager>zypper</packagemanager>
<locale>en_US</locale>
<keytable>us</keytable>
Expand Down Expand Up @@ -144,6 +144,8 @@
<package name="agama-cli"/>
<package name="agama-auto"/>
<package name="agama-integration-tests"/>
<package name="rubygem(agama-yast)"/>
<package name="rubygem(byebug)"/>
<package name="microos-tools"/>
<package name="icewm-lite"/>
<package name="xinit"/>
Expand All @@ -166,8 +168,6 @@
<package name="grub2-branding-openSUSE" arch="aarch64,x86_64"/>
<package name="openSUSE-repos-Leap"/>
<package name="patterns-openSUSE-base"/>
<package name="ruby3.2-rubygem-agama-yast"/>
<package name="ruby3.2-rubygem-byebug"/>
<package name="staging-build-key"/>
<package name="openSUSE-build-key"/>
<package name="MozillaFirefox-branding-openSUSE"/>
Expand All @@ -178,8 +178,6 @@
<package name="grub2-branding-openSUSE" arch="aarch64,x86_64"/>
<package name="openSUSE-repos-Tumbleweed"/>
<package name="patterns-openSUSE-base"/>
<package name="ruby3.3-rubygem-agama-yast"/>
<package name="ruby3.3-rubygem-byebug"/>
<package name="staging-build-key"/>
<package name="openSUSE-build-key"/>
<package name="MozillaFirefox-branding-openSUSE"/>
Expand All @@ -189,8 +187,6 @@
<package name="agama-products-sle"/>
<package name="grub2-branding-SLE" arch="aarch64,x86_64"/>
<package name="patterns-sles-base"/>
<package name="ruby3.2-rubygem-agama-yast"/>
<package name="ruby3.2-rubygem-byebug"/>
<package name="suse-build-key"/>
<package name="MozillaFirefox-branding-SLE"/>
</packages>
Expand Down
16 changes: 8 additions & 8 deletions live/src/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ echo "root_disk=live:LABEL=$label" >>/etc/cmdline.d/10-liveroot.conf
# if there's a default network location, add it here
# echo "root_net=" >> /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 "' >>/etc/dracut.conf.d/10-liveroot-file.conf
echo 'add_dracutmodules+=" dracut-menu agama-cmdline "' >>/etc/dracut.conf.d/10-liveroot-file.conf

if [ "${arch}" = "s390x" ];then
# workaround for custom bootloader setting
touch /config.bootoptions
if [ "${arch}" = "s390x" ]; then
# workaround for custom bootloader setting
touch /config.bootoptions
fi

# replace the @@LIVE_MEDIUM_LABEL@@ with the real Live partition label name from KIWI
Expand All @@ -111,7 +111,7 @@ 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
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/

Expand All @@ -125,7 +125,7 @@ du -h -s /usr/{share,lib}/locale/
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
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 unusupported languages (makes ISO about 22MiB smaller)
# build list of ignore options for "ls" with supported languages like "-I cs* -I de* -I es* ..."
Expand All @@ -138,7 +138,7 @@ ls -1 "${IGNORE_OPTS[@]}" -I "en_US*" -I "C.*" /usr/lib/locale/ | xargs -I% sh -

# delete unused translations (MO files)
for t in zypper gettext-runtime p11-kit; do
rm -f /usr/share/locale/*/LC_MESSAGES/$t.mo
rm -f /usr/share/locale/*/LC_MESSAGES/$t.mo
done
du -h -s /usr/{share,lib}/locale/

Expand Down Expand Up @@ -180,7 +180,7 @@ du -h -s /lib/modules /lib/firmware

# disable the services included by dependencies
for s in purge-kernels; do
systemctl -f disable $s || true
systemctl -f disable $s || true
done

# Only used for OpenCL and X11 acceleration on vmwgfx (?), saves ~50MiB
Expand Down
35 changes: 35 additions & 0 deletions products.d/agama-products.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Jan 13 09:04:21 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Update SLES4SAP ID to SLES_SAP (gh#agama-project/agama#1890).

-------------------------------------------------------------------
Fri Jan 10 16:13:30 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Add the user selectable patterns list to the SLES product
(gh#agama-project/agama#1885).

-------------------------------------------------------------------
Fri Jan 10 14:51:35 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Update SLES name (gh#agama-project/agama#1883).

-------------------------------------------------------------------
Wed Jan 8 14:07:21 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Add support for products registration (jsc#PED-11192,
gh#agama-project/agama#1809).

-------------------------------------------------------------------
Tue Jan 7 12:57:13 UTC 2025 - Lubos Kocman <lubos.kocman@suse.com>

- Drop yast from Leap 16.0 software selection
code-o-o#leap/features#173

-------------------------------------------------------------------
Mon Jan 6 14:41:28 UTC 2025 - Angela Briel <abriel@suse.com>

- SLES for SAP Application product:
Change product description.
(bsc#1235023)

-------------------------------------------------------------------
Thu Dec 5 11:04:06 UTC 2024 - Angela Briel <abriel@suse.com>

Expand Down
3 changes: 0 additions & 3 deletions products.d/leap_160.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ software:
- basic_desktop
- gnome
- kde
- yast2_basis
- yast2_desktop
- yast2_server
- multimedia
- office
mandatory_packages:
Expand Down
Loading