This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create a self contained ISO image containing Anaconda changes | |
# ============================================================= | |
# | |
# This script fetches a Fedora Rawhide boot.iso, clones the Anaconda | |
# installer upstream repo, creates an updates image from the repo | |
# and then produces an output iso that includes and automatically | |
# applies the updates image. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat webui_setup.sh | |
#!/bin/bash | |
echo "### CLEANING UP ###" | |
rm -rf anaconda/ui/webui/bots | |
rm -rf anaconda/ui/webui/node_modules | |
rm -rf anaconda/ui/webui/dist | |
rm -rf anaconda/result | |
rm -f anaconda/ui/webui/package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 2cba492a69411c8857d04432ea5756d726f2d175 | |
Author: Martin Kolman <[email protected]> | |
Date: Fri May 6 12:05:57 2022 +0200 | |
Add boot options to the Web UI | |
There does not seem to be an easy way to do this other than using a | |
forked set of templates. | |
Changes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
toolbox enter | |
git clone https://github.com/rhinstaller/anaconda | |
cd anaconda | |
sudo ./scripts/testing/install_dependencies.sh | |
./autogen.sh | |
./configure | |
make | |
make rpms | |
cd ui/webui/ | |
make create-updates.img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
af.po:25:"Plural-Forms: nplurals=2; plural=n != 1;\n" | |
am.po:18:"Plural-Forms: nplurals=2; plural=n > 1;\n" | |
anaconda.pot:20:"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
anaconda.pot:32:"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" | |
ar.po:43:"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " | |
as.po:29:"Plural-Forms: nplurals=2; plural=(n != 1);\n" | |
ast.po:24:"Plural-Forms: nplurals=2; plural=n != 1;\n" | |
be.po:31:"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cockpit.locale({ | |
"": { | |
"plural-forms": (n) => n != 1, | |
"language": "de", | |
"language-direction": "ltr" | |
}, | |
"Free": [ | |
null, | |
"Verfügbar" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "### CLEANING UP ###" | |
rm -rf anaconda/ui/webui/bots | |
rm -rf anaconda/ui/webui/node_modules | |
rm -rf anaconda/ui/webui/dist | |
rm -rf anaconda/result | |
rm -f anaconda/ui/webui/package-lock.json | |
echo "### BUILDING ANACONDA ###" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to create updates image with early web ui prototype for the boot iso | |
git clone https://github.com/rhinstaller/anaconda | |
cd anaconda | |
git remote add mkolman https://github.com/M4rtinK/anaconda | |
git fetch mkolman | |
git checkout master-cockpit_web_ui_prototype | |
wget https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20211130.n.0/compose/Everything/x86_64/os/Packages/c/cockpit-ws-258-1.fc36.x86_64.rpm | |
./scripts/makeupdates -a cockpit-ws-258-1.fc36.x86_64.rpm -t anaconda-36.10-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre install_specs() group & package exclude workflow in Anaconda | |
================================================================ | |
1) get a list of excluded groups from kickstart | |
2) when selecting an environment: | |
2.1) resolve it to a list of groups | |
2.2) remove excluded groups from the lists | |
2.3) tell dnf to add the remaining groups to the transaction | |
3) get a list of groups that should be installed from kickstart and/or UI | |
3.1) remove any groups that are in the list of excluded groups |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example kickstart | |
repo ... # repo, no changes here | |
enablemodule --name=nodejs --stream=6 # module default - NEW | |
%packages | |
nodejs # package, no changes here | |
@Gnome Group # groups, no changes here | |
@httpd:2.4 # module - NEW | |
@vim/minimal # module - NEW | |
%end |
NewerOlder