Index of /stream9/dnfbootstrap

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]al9beta-min.tar.zst2022-04-19 18:25 76M 
[TXT]convdb.sh.txt2021-12-25 19:37 691  
[   ]cs9min.tar.zst2022-02-09 15:23 85M 
[TXT]README.glibc2021-12-24 08:20 1.1K 
[TXT]schroot.sh.txt2021-12-25 19:38 617  
[   ]srch_flgs2021-12-24 15:33 488  
[   ]stream9-min.tar.zst2021-12-25 17:27 78M 

About
---
dnfbootstrap CS9 from an AL8 host

scratch LVM coming in from /dev/xvde

// clear the MBR
dd if=/dev/zero of=/dev/xvde bs=2M count=1

// prep the lvm with filesys
mkfs.ext4 -O^64bit -O^metadata_csum /dev/xvde

// our installroot
mount /dev/xvde /mnt/usb

// import the gpg key and init the rpmdb
sudo rpm --root=/mnt/usb --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

// proxy is picked up from ENV, export PROXY=http://192.168.1.3:3128

// if you have an older CPU without [aes,avx] opcodes, cs-9 glibc will block this from working
dnf  --installroot=/mnt/usb --releasever=9 install dnf rpm nano dnf-plugins-core glibc-langpack-en --disablerepo=\* --setopt=gpgcheck=0 --setopt=tsflags=nodocs --setopt=module_platform_id=platform:el9 --repofrompath=cs9repo,http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os  --enablerepo=cs9repo --exclude=gnome* 

unmount /mnt/usb

// rpmdb is berkeley bdb, must be converted to sqlite
./convdb.sh

Author
---
PryMar56
Dec 2021