mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
remove unnecessary changes
This commit is contained in:
parent
5bdd251680
commit
52679d67ab
9 changed files with 6 additions and 50 deletions
2
.github/workflows/test_iso.yml
vendored
2
.github/workflows/test_iso.yml
vendored
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
${{ matrix.repos != '' && format('REPOS="{0}"', matrix.repos) || '' }} \
|
${{ matrix.repos != '' && format('REPOS="{0}"', matrix.repos) || '' }} \
|
||||||
SECURE_BOOT_KEY_URL=${{ needs.load_vars.outputs.SECURE_BOOT_KEY_URL }} \
|
SECURE_BOOT_KEY_URL=${{ needs.load_vars.outputs.SECURE_BOOT_KEY_URL }} \
|
||||||
VARIANT=${{ needs.load_vars.outputs.VARIANT }} \
|
VARIANT=${{ needs.load_vars.outputs.VARIANT }} \
|
||||||
VERSION=${{ matrix.version == 'eln' && '39' || matrix.version }}
|
VERSION=${{ matrix.version }}
|
||||||
|
|
||||||
- name: Set status
|
- name: Set status
|
||||||
if: inputs.pr && always()
|
if: inputs.pr && always()
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,7 +6,6 @@
|
||||||
/lorax_templates/post_*
|
/lorax_templates/post_*
|
||||||
/pkglists
|
/pkglists
|
||||||
/repos/*.repo
|
/repos/*.repo
|
||||||
!/repos/centos.repo
|
|
||||||
/results
|
/results
|
||||||
/xorriso/input.txt
|
/xorriso/input.txt
|
||||||
/original-pkgsizes.txt
|
/original-pkgsizes.txt
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -94,7 +94,7 @@ $(ISO_NAME)-CHECKSUM: $(ISO_NAME)
|
||||||
cd $(dir $(ISO_NAME)) && sha256sum $(notdir $(ISO_NAME)) > $(notdir $(ISO_NAME))-CHECKSUM
|
cd $(dir $(ISO_NAME)) && sha256sum $(notdir $(ISO_NAME)) > $(notdir $(ISO_NAME))-CHECKSUM
|
||||||
|
|
||||||
# Build end ISO
|
# Build end ISO
|
||||||
$(ISO_NAME): results/images/boot.iso container/container xorriso/input.txt
|
$(ISO_NAME): results/images/boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.txt
|
||||||
$(if $(wildcard $(dir $(ISO_NAME))),,mkdir -p $(dir $(ISO_NAME)); chmod ugo=rwX $(dir $(ISO_NAME)))
|
$(if $(wildcard $(dir $(ISO_NAME))),,mkdir -p $(dir $(ISO_NAME)); chmod ugo=rwX $(dir $(ISO_NAME)))
|
||||||
xorriso -dialog on < xorriso/input.txt
|
xorriso -dialog on < xorriso/input.txt
|
||||||
implantisomd5 $(ISO_NAME)
|
implantisomd5 $(ISO_NAME)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
container:
|
$(IMAGE_NAME)-$(IMAGE_TAG):
|
||||||
skopeo copy docker://$(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG) oci:container
|
skopeo copy docker://$(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG) oci:$(IMAGE_NAME)-$(IMAGE_TAG)
|
||||||
|
|
||||||
install-deps:
|
install-deps:
|
||||||
$(install_pkg) skopeo
|
$(install_pkg) skopeo
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<%page args="image_name, image_tag"/>
|
<%page args="image_name, image_tag"/>
|
||||||
|
|
||||||
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --url=/run/install/repo/container --transport=oci --no-signature-verification"
|
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --url=/run/install/repo/${image_name}-${image_tag} --transport=oci --no-signature-verification"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
append etc/anaconda/conf.d/anaconda_modules.conf "[Anaconda]"
|
|
||||||
append etc/anaconda/conf.d/anaconda_modules.conf "kickstart_modules="
|
|
||||||
append etc/anaconda/conf.d/anaconda_modules.conf " org.fedoraproject.Anaconda.Modules.Network"
|
|
||||||
append etc/anaconda/conf.d/anaconda_modules.conf " org.fedoraproject.Anaconda.Modules.Payloads"
|
|
||||||
append etc/anaconda/conf.d/anaconda_modules.conf " org.fedoraproject.Anaconda.Modules.Storage"
|
|
||||||
append etc/anaconda/conf.d/anaconda_modules.conf " org.fedoraproject.Anaconda.Modules.Users"
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
[baseos]
|
|
||||||
name=CentOS Stream 9 - BaseOS
|
|
||||||
metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
||||||
gpgcheck=0
|
|
||||||
repo_gpgcheck=0
|
|
||||||
metadata_expire=6h
|
|
||||||
countme=1
|
|
||||||
enabled=1
|
|
||||||
|
|
||||||
[appstream]
|
|
||||||
name=CentOS Stream 9 - AppStream
|
|
||||||
metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-9-stream&arch=x86_64&protocol=https,http
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
||||||
gpgcheck=0
|
|
||||||
repo_gpgcheck=0
|
|
||||||
metadata_expire=6h
|
|
||||||
countme=1
|
|
||||||
enabled=1
|
|
||||||
|
|
@ -44,12 +44,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd "${PWD}/../container" > /dev/null
|
pushd "${PWD}/../container" > /dev/null
|
||||||
for file in $(find container -type f)
|
for file in $(find "${IMAGE_NAME}-${IMAGE_TAG}" -type f)
|
||||||
do
|
do
|
||||||
echo "-map ${PWD}/${file} ${file}"
|
echo "-map ${PWD}/${file} ${file}"
|
||||||
echo "-chmod 0444 ${file}"
|
echo "-chmod 0444 ${file}"
|
||||||
done
|
done
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo "-map ${PWD}/temp.ks temp.ks"
|
|
||||||
echo "-chmod 0444 temp.ks"
|
|
||||||
echo "-end"
|
echo "-end"
|
||||||
|
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
user --name alice --password $6$4ax95Fe8EwB0S5o7$zz23FfruNX4Tp0EoiDYwRN5D6GUnUqGZHm/d7QkUdXB19lvbh2sd8K19cKSfU0sCO05n8WtMcn5jpcmh9l5I20 --iscrypted --groups wheel
|
|
||||||
rootpw --lock
|
|
||||||
lang en_US.UTF-8
|
|
||||||
keyboard us
|
|
||||||
timezone UTC
|
|
||||||
clearpart --all
|
|
||||||
network --device=link --bootproto=dhcp --onboot=on --activate
|
|
||||||
reqpart --add-boot
|
|
||||||
|
|
||||||
part swap --fstype=swap --size=1024
|
|
||||||
part / --fstype=ext4 --grow
|
|
||||||
|
|
||||||
reboot --eject
|
|
||||||
%post
|
|
||||||
bootc switch --mutate-in-place --transport registry quay.io/centos-bootc/centos-bootc:stream9
|
|
||||||
%end
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue