readme updates, script changes
This commit is contained in:
parent
571bb3bd5b
commit
08c0200fda
12
README.md
12
README.md
@ -2,7 +2,7 @@
|
|||||||
Scripts and kickstarts for building Rocky Linux for Raspberry Pi
|
Scripts and kickstarts for building Rocky Linux for Raspberry Pi
|
||||||
|
|
||||||
## Purpose of this Repo
|
## Purpose of this Repo
|
||||||
This repository contains kickstart scripts and commands for producing your own Rocky Linux 8 image for the Raspberry Pi. It's intended mostly for developers or other technical users. If you are simply interested in using Rocky on your Pi, it's much easier to grab the latest image from (currently): https://rocky.lowend.ninja/RockyRpi/RockyRpi_Images/
|
This repository contains kickstart scripts and commands for producing your own Rocky Linux 8 image for the Raspberry Pi. It's intended mostly for developers or other technical users. If you are simply interested in using Rocky on your Pi, it's much easier to grab the latest image from (currently): https://dl.rockylinux.org/pub/rocky/8/rockyrpi/aarch64/images/
|
||||||
|
|
||||||
|
|
||||||
The readme.image.txt file has information and instructions for those interested in downloading and using the ready-made image.
|
The readme.image.txt file has information and instructions for those interested in downloading and using the ready-made image.
|
||||||
@ -13,7 +13,9 @@ The readme.image.txt file has information and instructions for those interested
|
|||||||
Producing the Rpi Image requires:
|
Producing the Rpi Image requires:
|
||||||
|
|
||||||
* A Fedora or EL-based distribution (Rocky/CentOS/RHEL/etc.) **running on aarch64 hardware**
|
* A Fedora or EL-based distribution (Rocky/CentOS/RHEL/etc.) **running on aarch64 hardware**
|
||||||
* git
|
* Packages
|
||||||
|
* git
|
||||||
|
|
||||||
* EPEL repo enabled (extra packages for enterprise linux)
|
* EPEL repo enabled (extra packages for enterprise linux)
|
||||||
* The appliance-creator program from appliance-tools package ( ```sudo dnf install appliance-tools``` )
|
* The appliance-creator program from appliance-tools package ( ```sudo dnf install appliance-tools``` )
|
||||||
|
|
||||||
@ -23,7 +25,7 @@ The included script to create the image is quite simple. Simply run it (with su
|
|||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
`sudo ./Rocky8_Rpi4_mkimage.sh /home/myhomefolder/Rocky8_image/`
|
`sudo ./createRocky8_Image.sh /home/myhomefolder/Rocky8_image/`
|
||||||
|
|
||||||
|
|
||||||
The kickstart/image build process takes approximately 10 minutes on a Raspberry Pi 4 with a decently fast internet connection.
|
The kickstart/image build process takes approximately 10 minutes on a Raspberry Pi 4 with a decently fast internet connection.
|
||||||
@ -31,9 +33,7 @@ The kickstart/image build process takes approximately 10 minutes on a Raspberry
|
|||||||
|
|
||||||
## Customizing the Kickstart
|
## Customizing the Kickstart
|
||||||
|
|
||||||
All the setup logic for the image is contained within the kickstart file (Rocky8_Rpi4.ks). It is intended to be readable and well documented, and you can of course change it anyway you please to produce custom images yourself.
|
All the setup logic for the image is contained within the kickstart file (Rocky8_Rpi.ks). It is intended to be readable and well documented, and you can of course change it anyway you please to produce custom images yourself.
|
||||||
|
|
||||||
Additionally, the mkimage script is very simple, and you can certainly customize it (or just run your own command) if you need to change the appliance-creator settings.
|
|
||||||
|
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
@ -1,28 +1,41 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
# Simple script that runs a Rocky Raspberry pi creation (via appliance-creator), then inserts a UUID to the kernel boot line of the image
|
# Simple script that runs a Rocky Raspberry pi creation (via appliance-creator), then inserts a UUID to the kernel boot line of the image
|
||||||
# after-the-fact
|
# after-the-fact
|
||||||
#
|
#
|
||||||
# Usage: ./Rocky8_Rpi4_mkimage.sh /path/to/outputfolder/
|
# Usage: ./Rocky8_Rpi4_mkimage.sh /path/to/outputfolder/
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# Needs to be run in the same directory as the rocky rpi kickstart, as it relies on it!
|
# Needs to be run in the same directory as the rocky rpi kickstart, as it relies on it!
|
||||||
#
|
#
|
||||||
|
|
||||||
# Exit with error if we don't have an output directory:
|
# Exit with error if we don't have an output directory:
|
||||||
OUTDIR=$1
|
|
||||||
|
|
||||||
if [[ -z "$OUTDIR" ]]; then
|
OUTDIR=$1
|
||||||
|
LOGDIR="logs"
|
||||||
|
LOGFILE="/create_image`date +"%y%m%d"`.log"
|
||||||
|
LOGFILE2="create_image`date +"%y%m%d"`.log.2"
|
||||||
|
|
||||||
|
if [[ -z "${OUTDIR}" ]]; then
|
||||||
echo "Need to run this script with a path to output directory. Like: ${0} /path/to/output/"
|
echo "Need to run this script with a path to output directory. Like: ${0} /path/to/output/"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "${OUTDIR}"
|
if [[ -d ${LOGDIR} ]]; then
|
||||||
|
echo "$LOGDIR exists..."
|
||||||
|
else
|
||||||
|
mkdir -p "${LOGDIR}"
|
||||||
|
touch $LOGDIR/$LOGFILE
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d ${OUTDIR} ]]; then
|
||||||
|
echo "$OUTDIR exists..."
|
||||||
|
else
|
||||||
|
mkdir -p "${OUTDIR}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Actually create the image. Our kickstart data should be in the same git repo as this script:
|
# Actually create the image. Our kickstart data should be in the same git repo as this script:
|
||||||
# (This takes a while, especially building on an rpi. Patience!)
|
# (This takes a while, especially building on an rpi. Patience!)
|
||||||
appliance-creator -v -c ./Rocky8_Rpi4.ks -n RockyRpi --version=`date +"%Y%m%d"` --release=1 --vmem=2048 --vcpu=2 --no-compress -o "${OUTDIR}"
|
appliance-creator -v -c ./Rocky8_Rpi4.ks -n RockyRpi \
|
||||||
|
--version=`date +"%Y%m%d"` --release=1 \
|
||||||
chown -R $SUDO_USER. "${OUTDIR}"
|
-d --logfile $LOGDIR/LOGFILE \
|
||||||
|
--vmem=2048 --vcpu=2 --no-compress -o "${OUTDIR}"
|
||||||
|
#chown -R $SUDO_USER. "${OUTDIR}"
|
383
logs/LOGFILE
Normal file
383
logs/LOGFILE
Normal file
@ -0,0 +1,383 @@
|
|||||||
|
No --ondisk specified in partition line of ks file; assuming 'sda'
|
||||||
|
No --ondisk specified in partition line of ks file; assuming 'sda'
|
||||||
|
No --ondisk specified in partition line of ks file; assuming 'sda'
|
||||||
|
Adding disk sda as /var/tmp/imgcreate-ou850k2r/tmp-trsoldnz/RockyRpi-sda.raw
|
||||||
|
WARNING! grub package not found.
|
||||||
|
Extending sparse file /var/tmp/imgcreate-ou850k2r/tmp-trsoldnz/RockyRpi-sda.raw to 3787456512
|
||||||
|
Losetup add /dev/loop11 mapping to /var/tmp/imgcreate-ou850k2r/tmp-trsoldnz/RockyRpi-sda.raw
|
||||||
|
Formatting disks
|
||||||
|
Initializing partition table for /dev/loop11 with msdos layout
|
||||||
|
Assigning partitions to disks
|
||||||
|
Assigned /boot to sda1 at 4 at size 300
|
||||||
|
Assigned swap to sda2 at 304 at size 512
|
||||||
|
Assigned / to sda3 at 816 at size 2800
|
||||||
|
Creating partitions
|
||||||
|
Add primary part at 4 of size 300
|
||||||
|
Part fstype: vfat, effective fstype fat32
|
||||||
|
Add primary part at 304 of size 512
|
||||||
|
Part fstype: swap, effective fstype linux-swap
|
||||||
|
Add primary part at 816 of size 2800
|
||||||
|
Part fstype: ext4, effective fstype ext2
|
||||||
|
Dev loop11p1: /dev/loop111 -> /dev/mapper/loop11p1
|
||||||
|
Creating symlink from /dev/loop111 to /dev/mapper/loop11p1
|
||||||
|
Dev loop11p2: /dev/loop112 -> /dev/mapper/loop11p2
|
||||||
|
Creating symlink from /dev/loop112 to /dev/mapper/loop11p2
|
||||||
|
Dev loop11p3: /dev/loop113 -> /dev/mapper/loop11p3
|
||||||
|
Creating symlink from /dev/loop113 to /dev/mapper/loop11p3
|
||||||
|
Adding partx mapping for /dev/loop11
|
||||||
|
Mount order: ['/', '/boot', 'swap']
|
||||||
|
Unmount order: ['swap', '/boot', '/']
|
||||||
|
Formating ext4 filesystem on /dev/loop113
|
||||||
|
Formating args: ['mkfs.ext4', '-F', '-L', '_/', '-m', '1', '-b', '4096', '/dev/loop113']
|
||||||
|
mke2fs
|
||||||
|
1.45.6
|
||||||
|
(20-Mar-2020)
|
||||||
|
Discarding
|
||||||
|
device
|
||||||
|
blocks:
|
||||||
|
4096/683644
|
||||||
|
done
|
||||||
|
Creating
|
||||||
|
filesystem
|
||||||
|
with
|
||||||
|
683644
|
||||||
|
4k
|
||||||
|
blocks
|
||||||
|
and
|
||||||
|
171024
|
||||||
|
inodes
|
||||||
|
Filesystem
|
||||||
|
UUID:
|
||||||
|
f5f54810-2e01-48aa-8e3d-8fd98f3ee664
|
||||||
|
Superblock
|
||||||
|
backups
|
||||||
|
stored
|
||||||
|
on
|
||||||
|
blocks:
|
||||||
|
32768,
|
||||||
|
98304,
|
||||||
|
163840,
|
||||||
|
229376,
|
||||||
|
294912
|
||||||
|
Allocating
|
||||||
|
group
|
||||||
|
tables:
|
||||||
|
0/21
|
||||||
|
done
|
||||||
|
Writing
|
||||||
|
inode
|
||||||
|
tables:
|
||||||
|
0/21
|
||||||
|
done
|
||||||
|
Creating
|
||||||
|
journal
|
||||||
|
(16384
|
||||||
|
blocks):
|
||||||
|
done
|
||||||
|
Writing
|
||||||
|
superblocks
|
||||||
|
and
|
||||||
|
filesystem
|
||||||
|
accounting
|
||||||
|
information:
|
||||||
|
0/21
|
||||||
|
done
|
||||||
|
Tuning filesystem on /dev/loop113
|
||||||
|
tune2fs
|
||||||
|
1.45.6
|
||||||
|
(20-Mar-2020)
|
||||||
|
Setting
|
||||||
|
maximal
|
||||||
|
mount
|
||||||
|
count
|
||||||
|
to
|
||||||
|
-1
|
||||||
|
Setting
|
||||||
|
interval
|
||||||
|
between
|
||||||
|
checks
|
||||||
|
to
|
||||||
|
0
|
||||||
|
seconds
|
||||||
|
Mounting /dev/loop113 at /var/tmp/imgcreate-ou850k2r/install_root/
|
||||||
|
Setting boot flag on in /boot
|
||||||
|
Formating vfat filesystem on /dev/loop111
|
||||||
|
Formating args: ['mkfs.vfat', '/dev/loop111']
|
||||||
|
mkfs.fat
|
||||||
|
4.1
|
||||||
|
(2017-01-24)
|
||||||
|
Creating mount point /var/tmp/imgcreate-ou850k2r/install_root/boot
|
||||||
|
Mounting /dev/loop111 at /var/tmp/imgcreate-ou850k2r/install_root/boot
|
||||||
|
Writing mkinitrd config /var/tmp/imgcreate-ou850k2r/install_root/etc/sysconfig/mkinitrd
|
||||||
|
Skipping (/sys/fs/selinux,/sys/fs/selinux) because source doesn't exist.
|
||||||
|
User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)'
|
||||||
|
Unknown configuration option: failovermethod = priority in /var/tmp/imgcreate-ou850k2r/dnf.conf-oiw1oagp
|
||||||
|
repo: downloading from remote: rockyrpi
|
||||||
|
rockyrpi: using metadata from Wed 22 Jun 2022 02:01:30 PM EDT.
|
||||||
|
repo: downloading from remote: rockyextras
|
||||||
|
rockyextras: using metadata from Wed 22 Jun 2022 02:01:30 PM EDT.
|
||||||
|
repo: downloading from remote: BaseOS
|
||||||
|
BaseOS: using metadata from Wed 22 Jun 2022 02:01:28 PM EDT.
|
||||||
|
repo: downloading from remote: AppStream
|
||||||
|
AppStream: using metadata from Wed 22 Jun 2022 02:01:29 PM EDT.
|
||||||
|
repo: downloading from remote: PowerTools
|
||||||
|
PowerTools: using metadata from Wed 22 Jun 2022 02:01:28 PM EDT.
|
||||||
|
User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)'
|
||||||
|
Modular dependency problems:
|
||||||
|
|
||||||
|
Problem 1: nothing provides requested module(ant:1.10:8030020210429121623)
|
||||||
|
Problem 2: nothing provides requested module(container-tools:rhel8:8060020220510152704)
|
||||||
|
Problem 3: nothing provides requested module(container-tools:rhel8:8060020220515162200)
|
||||||
|
Problem 4: nothing provides requested module(freeradius:3.0:8060020220510152642)
|
||||||
|
Problem 5: nothing provides requested module(gimp:2.8:8030020210427153901)
|
||||||
|
Problem 6: nothing provides requested module(go-toolset:rhel8:8060020220510152643)
|
||||||
|
Problem 7: nothing provides requested module(httpd:2.4:8060020220510175152)
|
||||||
|
Problem 8: nothing provides requested module(httpd:2.4:8060020220622141024)
|
||||||
|
Problem 9: nothing provides requested module(idm:client:8060020220510152717)
|
||||||
|
Problem 10: nothing provides requested module(inkscape:0.92.3:8060020220510152652)
|
||||||
|
Problem 11: nothing provides requested module(javapackages-runtime:201801:8030020210427015850)
|
||||||
|
Problem 12: nothing provides requested module(jmc:rhel8:8050020211109115703)
|
||||||
|
Problem 13: nothing provides requested module(llvm-toolset:rhel8:8060020220510152650)
|
||||||
|
Problem 14: nothing provides requested module(log4j:2:8060020220513010955)
|
||||||
|
Problem 15: nothing provides requested module(mailman:2.1:8050020211202160117)
|
||||||
|
Problem 16: nothing provides requested module(mariadb:10.3:8050020220426183223)
|
||||||
|
Problem 17: nothing provides requested module(maven:3.5:8060020220510152744)
|
||||||
|
Problem 18: nothing provides requested module(maven:3.5:8060020220530151437)
|
||||||
|
Problem 19: nothing provides requested module(mercurial:4.8:8030020210428123809)
|
||||||
|
Problem 20: nothing provides requested module(mysql:8.0:8040020210921213001)
|
||||||
|
Problem 21: nothing provides requested module(nginx:1.14:8040020210610090123)
|
||||||
|
Problem 22: nothing provides requested module(nodejs:10:8030020210426100849)
|
||||||
|
Problem 23: nothing provides requested module(perl:5.26:8050020211109115414)
|
||||||
|
Problem 24: nothing provides requested module(perl-App-cpanminus:1.7044:8060020220513152155)
|
||||||
|
Problem 25: nothing provides requested module(perl-DBD-MySQL:4.046:8060020220513012802)
|
||||||
|
Problem 26: nothing provides requested module(perl-DBD-Pg:3.7:8060020220513012759)
|
||||||
|
Problem 27: nothing provides requested module(perl-DBD-SQLite:1.58:8060020220513012746)
|
||||||
|
Problem 28: nothing provides requested module(perl-DBI:1.641:8060020220513010556)
|
||||||
|
Problem 29: nothing provides requested module(perl-FCGI:0.78:8060020220513014001)
|
||||||
|
Problem 30: nothing provides requested module(perl-IO-Socket-SSL:2.066:8060020220513050719)
|
||||||
|
Problem 31: nothing provides requested module(perl-YAML:1.24:8060020220513063607)
|
||||||
|
Problem 32: nothing provides requested module(perl-libwww-perl:6.34:8060020220513153220)
|
||||||
|
Problem 33: nothing provides requested module(php:7.2:8040020210530192442)
|
||||||
|
Problem 34: nothing provides requested module(postgresql:10:8060020220510152838)
|
||||||
|
Problem 35: nothing provides requested module(postgresql:10:8060020220530151217)
|
||||||
|
Problem 36: nothing provides requested module(python27:2.7:8060020220510152758)
|
||||||
|
Problem 37: nothing provides requested module(python36:3.6:8050020211109130820)
|
||||||
|
Problem 38: nothing provides requested module(python38:3.8:8060020220510152755)
|
||||||
|
Problem 39: nothing provides requested module(python39:3.9:8060020220510152857)
|
||||||
|
Problem 40: nothing provides requested module(redis:5:8050020211020202418)
|
||||||
|
Problem 41: nothing provides requested module(rhn-tools:1.0:8030020210429021554)
|
||||||
|
Problem 42: nothing provides requested module(ruby:2.5:8050020220224171137)
|
||||||
|
Problem 43: nothing provides requested module(rust-toolset:rhel8:8060020220510152804)
|
||||||
|
Problem 44: nothing provides requested module(satellite-5-client:1.0:8030020210428035500)
|
||||||
|
Problem 45: nothing provides requested module(scala:2.10:8030020210428133748)
|
||||||
|
Problem 46: nothing provides requested module(squid:4:8060020220510152801)
|
||||||
|
Problem 47: nothing provides requested module(subversion:1.10:8040020210530192448)
|
||||||
|
Problem 48: nothing provides requested module(subversion:1.10:8060020220516012116)
|
||||||
|
Problem 49: nothing provides requested module(swig:3.0:8040020210530171044)
|
||||||
|
Problem 50: nothing provides requested module(varnish:6:8050020220203164257)
|
||||||
|
Problem 51: nothing provides requested module(virt:rhel:8060020220510231111)
|
||||||
|
Adding packages from group 'core': {<libcomps.Package object 'iwl5150-firmware' at 0x7fc3bf6cb168>, <libcomps.Package object 'less' at 0x7fc3c0befd98>, <libcomps.Package object 'ncurses' at 0x7fc3c0befdc8>, <libcomps.Package object 'parted' at 0x7fc3c0befe10>, <libcomps.Package object 'iwl6050-firmware' at 0x7fc3bf6cb1b0>, <libcomps.Package object 'kbd' at 0x7fc3c0befd68>, <libcomps.Package object 'firewalld' at 0x7fc3c0befc90>, <libcomps.Package object 'policycoreutils' at 0x7fc3c0befe40>, <libcomps.Package object 'iwl7260-firmware' at 0x7fc3bf6cb1c8>, <libcomps.Package object 'linux-firmware' at 0x7fc3bf6cb210>, <libcomps.Package object 'NetworkManager-tui' at 0x7fc3bf6cb048>, <libcomps.Package object 'openssh-clients' at 0x7fc3c0befde0>, <libcomps.Package object 'iputils' at 0x7fc3c0befd38>, <libcomps.Package object 'dnf' at 0x7fc3c0befc48>, <libcomps.Package object 'sg3_utils-libs' at 0x7fc3bf6cb288>, <libcomps.Package object 'bash' at 0x7fc3c0befbe8>, <libcomps.Package object 'yum' at 0x7fc3c0beffa8>, <libcomps.Package object 'initscripts' at 0x7fc3c0befcf0>, <libcomps.Package object 'hostname' at 0x7fc3c0befcd8>, <libcomps.Package object 'dracut-config-rescue' at 0x7fc3bf6cb090>, <libcomps.Package object 'iprutils' at 0x7fc3c0befd20>, <libcomps.Package object 'kernel-tools' at 0x7fc3bf6cb1e0>, <libcomps.Package object 'xfsprogs' at 0x7fc3c0beff90>, <libcomps.Package object 'authselect' at 0x7fc3bf6cb060>, <libcomps.Package object 'man-db' at 0x7fc3c0befdb0>, <libcomps.Package object 'sssd-kcm' at 0x7fc3c0beff00>, <libcomps.Package object 'tuned' at 0x7fc3c0beff48>, <libcomps.Package object 'glibc' at 0x7fc3c0befca8>, <libcomps.Package object 'libsysfs' at 0x7fc3bf6cb1f8>, <libcomps.Package object 'shadow-utils' at 0x7fc3c0befed0>, <libcomps.Package object 'filesystem' at 0x7fc3c0befc78>, <libcomps.Package object 'util-linux' at 0x7fc3c0beff60>, <libcomps.Package object 'lsscsi' at 0x7fc3bf6cb240>, <libcomps.Package object 'procps-ng' at 0x7fc3c0befe58>, <libcomps.Package object 'irqbalance' at 0x7fc3c0befd50>, <libcomps.Package object 'vim-minimal' at 0x7fc3c0beff78>, <libcomps.Package object 'iwl105-firmware' at 0x7fc3bf6cb0d8>, <libcomps.Package object 'iwl6000-firmware' at 0x7fc3bf6cb180>, <libcomps.Package object 'basesystem' at 0x7fc3c0befbd0>, <libcomps.Package object 'lshw' at 0x7fc3bf6cb228>, <libcomps.Package object 'setup' at 0x7fc3c0befeb8>, <libcomps.Package object 'prefixdevname' at 0x7fc3bf6cb258>, <libcomps.Package object 'passwd' at 0x7fc3c0befe28>, <libcomps.Package object 'sg3_utils' at 0x7fc3bf6cb270>, <libcomps.Package object 'iwl2000-firmware' at 0x7fc3bf6cb108>, <libcomps.Package object 'e2fsprogs' at 0x7fc3c0befc60>, <libcomps.Package object 'iwl100-firmware' at 0x7fc3bf6cb0a8>, <libcomps.Package object 'cronie' at 0x7fc3c0befc18>, <libcomps.Package object 'iwl6000g2a-firmware' at 0x7fc3bf6cb198>, <libcomps.Package object 'grubby' at 0x7fc3c0befcc0>, <libcomps.Package object 'kexec-tools' at 0x7fc3c0befd80>, <libcomps.Package object 'iwl1000-firmware' at 0x7fc3bf6cb0c0>, <libcomps.Package object 'NetworkManager-team' at 0x7fc3bf6cb030>, <libcomps.Package object 'iproute' at 0x7fc3c0befd08>, <libcomps.Package object 'rpm' at 0x7fc3c0befe88>, <libcomps.Package object 'iwl3160-firmware' at 0x7fc3bf6cb138>, <libcomps.Package object 'rootfiles' at 0x7fc3c0befe70>, <libcomps.Package object 'systemd' at 0x7fc3c0beff30>, <libcomps.Package object 'plymouth' at 0x7fc3c0beffc0>, <libcomps.Package object 'sudo' at 0x7fc3c0beff18>, <libcomps.Package object 'sssd-common' at 0x7fc3c0befee8>, <libcomps.Package object 'iwl135-firmware' at 0x7fc3bf6cb0f0>, <libcomps.Package object 'openssh-server' at 0x7fc3c0befdf8>, <libcomps.Package object 'iwl2030-firmware' at 0x7fc3bf6cb120>, <libcomps.Package object 'audit' at 0x7fc3c0befbb8>, <libcomps.Package object 'NetworkManager' at 0x7fc3c0befba0>, <libcomps.Package object 'coreutils' at 0x7fc3c0befc00>, <libcomps.Package object 'rsyslog' at 0x7fc3c0beffd8>, <libcomps.Package object 'iwl5000-firmware' at 0x7fc3bf6cb150>, <libcomps.Package object 'curl' at 0x7fc3c0befc30>, <libcomps.Package object 'selinux-policy-targeted' at 0x7fc3c0befea0>, <libcomps.Package object 'dnf-plugins-core' at 0x7fc3bf6cb078>}
|
||||||
|
selected group: core
|
||||||
|
selected package: 'NetworkManager-wifi'
|
||||||
|
Unable to create appliance : Failed to find package 'vim' : No match for argument: vim
|
||||||
|
umount:
|
||||||
|
/var/tmp/imgcreate-ou850k2r/install_root/var/cache/dnf:
|
||||||
|
target
|
||||||
|
is
|
||||||
|
busy.
|
||||||
|
Unmounting directory /var/tmp/imgcreate-ou850k2r/install_root/boot
|
||||||
|
Unmounting directory /var/tmp/imgcreate-ou850k2r/install_root/
|
||||||
|
Removing compat symlinks
|
||||||
|
Unmapping /dev/loop11
|
||||||
|
Losetup remove /dev/loop11
|
||||||
|
No --ondisk specified in partition line of ks file; assuming 'sda'
|
||||||
|
No --ondisk specified in partition line of ks file; assuming 'sda'
|
||||||
|
No --ondisk specified in partition line of ks file; assuming 'sda'
|
||||||
|
Adding disk sda as /var/tmp/imgcreate-_dz_plxo/tmp-9cr7u0t5/RockyRpi-sda.raw
|
||||||
|
WARNING! grub package not found.
|
||||||
|
Extending sparse file /var/tmp/imgcreate-_dz_plxo/tmp-9cr7u0t5/RockyRpi-sda.raw to 3787456512
|
||||||
|
Losetup add /dev/loop11 mapping to /var/tmp/imgcreate-_dz_plxo/tmp-9cr7u0t5/RockyRpi-sda.raw
|
||||||
|
Formatting disks
|
||||||
|
Initializing partition table for /dev/loop11 with msdos layout
|
||||||
|
Assigning partitions to disks
|
||||||
|
Assigned /boot to sda1 at 4 at size 300
|
||||||
|
Assigned swap to sda2 at 304 at size 512
|
||||||
|
Assigned / to sda3 at 816 at size 2800
|
||||||
|
Creating partitions
|
||||||
|
Add primary part at 4 of size 300
|
||||||
|
Part fstype: vfat, effective fstype fat32
|
||||||
|
Add primary part at 304 of size 512
|
||||||
|
Part fstype: swap, effective fstype linux-swap
|
||||||
|
Add primary part at 816 of size 2800
|
||||||
|
Part fstype: ext4, effective fstype ext2
|
||||||
|
Dev loop11p1: /dev/loop111 -> /dev/mapper/loop11p1
|
||||||
|
Creating symlink from /dev/loop111 to /dev/mapper/loop11p1
|
||||||
|
Dev loop11p2: /dev/loop112 -> /dev/mapper/loop11p2
|
||||||
|
Creating symlink from /dev/loop112 to /dev/mapper/loop11p2
|
||||||
|
Dev loop11p3: /dev/loop113 -> /dev/mapper/loop11p3
|
||||||
|
Creating symlink from /dev/loop113 to /dev/mapper/loop11p3
|
||||||
|
Adding partx mapping for /dev/loop11
|
||||||
|
Mount order: ['/', '/boot', 'swap']
|
||||||
|
Unmount order: ['swap', '/boot', '/']
|
||||||
|
Formating ext4 filesystem on /dev/loop113
|
||||||
|
Formating args: ['mkfs.ext4', '-F', '-L', '_/', '-m', '1', '-b', '4096', '/dev/loop113']
|
||||||
|
mke2fs
|
||||||
|
1.45.6
|
||||||
|
(20-Mar-2020)
|
||||||
|
Discarding
|
||||||
|
device
|
||||||
|
blocks:
|
||||||
|
4096/683644
|
||||||
|
done
|
||||||
|
Creating
|
||||||
|
filesystem
|
||||||
|
with
|
||||||
|
683644
|
||||||
|
4k
|
||||||
|
blocks
|
||||||
|
and
|
||||||
|
171024
|
||||||
|
inodes
|
||||||
|
Filesystem
|
||||||
|
UUID:
|
||||||
|
a51f2cce-3be4-4c79-a312-435a8c075aa5
|
||||||
|
Superblock
|
||||||
|
backups
|
||||||
|
stored
|
||||||
|
on
|
||||||
|
blocks:
|
||||||
|
32768,
|
||||||
|
98304,
|
||||||
|
163840,
|
||||||
|
229376,
|
||||||
|
294912
|
||||||
|
Allocating
|
||||||
|
group
|
||||||
|
tables:
|
||||||
|
0/21
|
||||||
|
done
|
||||||
|
Writing
|
||||||
|
inode
|
||||||
|
tables:
|
||||||
|
0/21
|
||||||
|
done
|
||||||
|
Creating
|
||||||
|
journal
|
||||||
|
(16384
|
||||||
|
blocks):
|
||||||
|
done
|
||||||
|
Writing
|
||||||
|
superblocks
|
||||||
|
and
|
||||||
|
filesystem
|
||||||
|
accounting
|
||||||
|
information:
|
||||||
|
0/21
|
||||||
|
done
|
||||||
|
Tuning filesystem on /dev/loop113
|
||||||
|
tune2fs
|
||||||
|
1.45.6
|
||||||
|
(20-Mar-2020)
|
||||||
|
Setting
|
||||||
|
maximal
|
||||||
|
mount
|
||||||
|
count
|
||||||
|
to
|
||||||
|
-1
|
||||||
|
Setting
|
||||||
|
interval
|
||||||
|
between
|
||||||
|
checks
|
||||||
|
to
|
||||||
|
0
|
||||||
|
seconds
|
||||||
|
Mounting /dev/loop113 at /var/tmp/imgcreate-_dz_plxo/install_root/
|
||||||
|
Setting boot flag on in /boot
|
||||||
|
Formating vfat filesystem on /dev/loop111
|
||||||
|
Formating args: ['mkfs.vfat', '/dev/loop111']
|
||||||
|
mkfs.fat
|
||||||
|
4.1
|
||||||
|
(2017-01-24)
|
||||||
|
Creating mount point /var/tmp/imgcreate-_dz_plxo/install_root/boot
|
||||||
|
Mounting /dev/loop111 at /var/tmp/imgcreate-_dz_plxo/install_root/boot
|
||||||
|
Writing mkinitrd config /var/tmp/imgcreate-_dz_plxo/install_root/etc/sysconfig/mkinitrd
|
||||||
|
Skipping (/sys/fs/selinux,/sys/fs/selinux) because source doesn't exist.
|
||||||
|
User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)'
|
||||||
|
Unknown configuration option: failovermethod = priority in /var/tmp/imgcreate-_dz_plxo/dnf.conf-nzft8zq5
|
||||||
|
repo: downloading from remote: rockyrpi
|
||||||
|
rockyrpi: using metadata from Wed 22 Jun 2022 02:01:30 PM EDT.
|
||||||
|
repo: downloading from remote: rockyextras
|
||||||
|
rockyextras: using metadata from Wed 22 Jun 2022 02:01:30 PM EDT.
|
||||||
|
repo: downloading from remote: BaseOS
|
||||||
|
BaseOS: using metadata from Wed 22 Jun 2022 02:01:28 PM EDT.
|
||||||
|
repo: downloading from remote: AppStream
|
||||||
|
AppStream: using metadata from Wed 22 Jun 2022 02:01:29 PM EDT.
|
||||||
|
repo: downloading from remote: PowerTools
|
||||||
|
PowerTools: using metadata from Wed 22 Jun 2022 02:01:28 PM EDT.
|
||||||
|
User-Agent: constructed: 'libdnf (Rocky Linux 8.6; generic; Linux.x86_64)'
|
||||||
|
Modular dependency problems:
|
||||||
|
|
||||||
|
Problem 1: nothing provides requested module(ant:1.10:8030020210429121623)
|
||||||
|
Problem 2: nothing provides requested module(container-tools:rhel8:8060020220510152704)
|
||||||
|
Problem 3: nothing provides requested module(container-tools:rhel8:8060020220515162200)
|
||||||
|
Problem 4: nothing provides requested module(freeradius:3.0:8060020220510152642)
|
||||||
|
Problem 5: nothing provides requested module(gimp:2.8:8030020210427153901)
|
||||||
|
Problem 6: nothing provides requested module(go-toolset:rhel8:8060020220510152643)
|
||||||
|
Problem 7: nothing provides requested module(httpd:2.4:8060020220510175152)
|
||||||
|
Problem 8: nothing provides requested module(httpd:2.4:8060020220622141024)
|
||||||
|
Problem 9: nothing provides requested module(idm:client:8060020220510152717)
|
||||||
|
Problem 10: nothing provides requested module(inkscape:0.92.3:8060020220510152652)
|
||||||
|
Problem 11: nothing provides requested module(javapackages-runtime:201801:8030020210427015850)
|
||||||
|
Problem 12: nothing provides requested module(jmc:rhel8:8050020211109115703)
|
||||||
|
Problem 13: nothing provides requested module(llvm-toolset:rhel8:8060020220510152650)
|
||||||
|
Problem 14: nothing provides requested module(log4j:2:8060020220513010955)
|
||||||
|
Problem 15: nothing provides requested module(mailman:2.1:8050020211202160117)
|
||||||
|
Problem 16: nothing provides requested module(mariadb:10.3:8050020220426183223)
|
||||||
|
Problem 17: nothing provides requested module(maven:3.5:8060020220510152744)
|
||||||
|
Problem 18: nothing provides requested module(maven:3.5:8060020220530151437)
|
||||||
|
Problem 19: nothing provides requested module(mercurial:4.8:8030020210428123809)
|
||||||
|
Problem 20: nothing provides requested module(mysql:8.0:8040020210921213001)
|
||||||
|
Problem 21: nothing provides requested module(nginx:1.14:8040020210610090123)
|
||||||
|
Problem 22: nothing provides requested module(nodejs:10:8030020210426100849)
|
||||||
|
Problem 23: nothing provides requested module(perl:5.26:8050020211109115414)
|
||||||
|
Problem 24: nothing provides requested module(perl-App-cpanminus:1.7044:8060020220513152155)
|
||||||
|
Problem 25: nothing provides requested module(perl-DBD-MySQL:4.046:8060020220513012802)
|
||||||
|
Problem 26: nothing provides requested module(perl-DBD-Pg:3.7:8060020220513012759)
|
||||||
|
Problem 27: nothing provides requested module(perl-DBD-SQLite:1.58:8060020220513012746)
|
||||||
|
Problem 28: nothing provides requested module(perl-DBI:1.641:8060020220513010556)
|
||||||
|
Problem 29: nothing provides requested module(perl-FCGI:0.78:8060020220513014001)
|
||||||
|
Problem 30: nothing provides requested module(perl-IO-Socket-SSL:2.066:8060020220513050719)
|
||||||
|
Problem 31: nothing provides requested module(perl-YAML:1.24:8060020220513063607)
|
||||||
|
Problem 32: nothing provides requested module(perl-libwww-perl:6.34:8060020220513153220)
|
||||||
|
Problem 33: nothing provides requested module(php:7.2:8040020210530192442)
|
||||||
|
Problem 34: nothing provides requested module(postgresql:10:8060020220510152838)
|
||||||
|
Problem 35: nothing provides requested module(postgresql:10:8060020220530151217)
|
||||||
|
Problem 36: nothing provides requested module(python27:2.7:8060020220510152758)
|
||||||
|
Problem 37: nothing provides requested module(python36:3.6:8050020211109130820)
|
||||||
|
Problem 38: nothing provides requested module(python38:3.8:8060020220510152755)
|
||||||
|
Problem 39: nothing provides requested module(python39:3.9:8060020220510152857)
|
||||||
|
Problem 40: nothing provides requested module(redis:5:8050020211020202418)
|
||||||
|
Problem 41: nothing provides requested module(rhn-tools:1.0:8030020210429021554)
|
||||||
|
Problem 42: nothing provides requested module(ruby:2.5:8050020220224171137)
|
||||||
|
Problem 43: nothing provides requested module(rust-toolset:rhel8:8060020220510152804)
|
||||||
|
Problem 44: nothing provides requested module(satellite-5-client:1.0:8030020210428035500)
|
||||||
|
Problem 45: nothing provides requested module(scala:2.10:8030020210428133748)
|
||||||
|
Problem 46: nothing provides requested module(squid:4:8060020220510152801)
|
||||||
|
Problem 47: nothing provides requested module(subversion:1.10:8040020210530192448)
|
||||||
|
Problem 48: nothing provides requested module(subversion:1.10:8060020220516012116)
|
||||||
|
Problem 49: nothing provides requested module(swig:3.0:8040020210530171044)
|
||||||
|
Problem 50: nothing provides requested module(varnish:6:8050020220203164257)
|
||||||
|
Problem 51: nothing provides requested module(virt:rhel:8060020220510231111)
|
||||||
|
Adding packages from group 'core': {<libcomps.Package object 'iwl5150-firmware' at 0x7f3bd96d1150>, <libcomps.Package object 'less' at 0x7f3bdabf6d80>, <libcomps.Package object 'ncurses' at 0x7f3bdabf6db0>, <libcomps.Package object 'parted' at 0x7f3bdabf6df8>, <libcomps.Package object 'iwl6050-firmware' at 0x7f3bd96d1198>, <libcomps.Package object 'kbd' at 0x7f3bdabf6d50>, <libcomps.Package object 'firewalld' at 0x7f3bdabf6c78>, <libcomps.Package object 'policycoreutils' at 0x7f3bdabf6e28>, <libcomps.Package object 'iwl7260-firmware' at 0x7f3bd96d11b0>, <libcomps.Package object 'linux-firmware' at 0x7f3bd96d11f8>, <libcomps.Package object 'NetworkManager-tui' at 0x7f3bd96d1030>, <libcomps.Package object 'openssh-clients' at 0x7f3bdabf6dc8>, <libcomps.Package object 'iputils' at 0x7f3bdabf6d20>, <libcomps.Package object 'dnf' at 0x7f3bdabf6c30>, <libcomps.Package object 'sg3_utils-libs' at 0x7f3bd96d1270>, <libcomps.Package object 'bash' at 0x7f3bdabf6bd0>, <libcomps.Package object 'yum' at 0x7f3bdabf6f90>, <libcomps.Package object 'initscripts' at 0x7f3bdabf6cd8>, <libcomps.Package object 'hostname' at 0x7f3bdabf6cc0>, <libcomps.Package object 'dracut-config-rescue' at 0x7f3bd96d1078>, <libcomps.Package object 'iprutils' at 0x7f3bdabf6d08>, <libcomps.Package object 'kernel-tools' at 0x7f3bd96d11c8>, <libcomps.Package object 'xfsprogs' at 0x7f3bdabf6f78>, <libcomps.Package object 'authselect' at 0x7f3bd96d1048>, <libcomps.Package object 'man-db' at 0x7f3bdabf6d98>, <libcomps.Package object 'sssd-kcm' at 0x7f3bdabf6ee8>, <libcomps.Package object 'tuned' at 0x7f3bdabf6f30>, <libcomps.Package object 'glibc' at 0x7f3bdabf6c90>, <libcomps.Package object 'libsysfs' at 0x7f3bd96d11e0>, <libcomps.Package object 'shadow-utils' at 0x7f3bdabf6eb8>, <libcomps.Package object 'filesystem' at 0x7f3bdabf6c60>, <libcomps.Package object 'util-linux' at 0x7f3bdabf6f48>, <libcomps.Package object 'lsscsi' at 0x7f3bd96d1228>, <libcomps.Package object 'procps-ng' at 0x7f3bdabf6e40>, <libcomps.Package object 'irqbalance' at 0x7f3bdabf6d38>, <libcomps.Package object 'vim-minimal' at 0x7f3bdabf6f60>, <libcomps.Package object 'iwl105-firmware' at 0x7f3bd96d10c0>, <libcomps.Package object 'iwl6000-firmware' at 0x7f3bd96d1168>, <libcomps.Package object 'basesystem' at 0x7f3bdabf6bb8>, <libcomps.Package object 'lshw' at 0x7f3bd96d1210>, <libcomps.Package object 'setup' at 0x7f3bdabf6ea0>, <libcomps.Package object 'prefixdevname' at 0x7f3bd96d1240>, <libcomps.Package object 'passwd' at 0x7f3bdabf6e10>, <libcomps.Package object 'sg3_utils' at 0x7f3bd96d1258>, <libcomps.Package object 'iwl2000-firmware' at 0x7f3bd96d10f0>, <libcomps.Package object 'e2fsprogs' at 0x7f3bdabf6c48>, <libcomps.Package object 'iwl100-firmware' at 0x7f3bd96d1090>, <libcomps.Package object 'cronie' at 0x7f3bdabf6c00>, <libcomps.Package object 'iwl6000g2a-firmware' at 0x7f3bd96d1180>, <libcomps.Package object 'grubby' at 0x7f3bdabf6ca8>, <libcomps.Package object 'kexec-tools' at 0x7f3bdabf6d68>, <libcomps.Package object 'iwl1000-firmware' at 0x7f3bd96d10a8>, <libcomps.Package object 'NetworkManager-team' at 0x7f3bdabf6fd8>, <libcomps.Package object 'iproute' at 0x7f3bdabf6cf0>, <libcomps.Package object 'rpm' at 0x7f3bdabf6e70>, <libcomps.Package object 'iwl3160-firmware' at 0x7f3bd96d1120>, <libcomps.Package object 'rootfiles' at 0x7f3bdabf6e58>, <libcomps.Package object 'systemd' at 0x7f3bdabf6f18>, <libcomps.Package object 'plymouth' at 0x7f3bdabf6fa8>, <libcomps.Package object 'sudo' at 0x7f3bdabf6f00>, <libcomps.Package object 'sssd-common' at 0x7f3bdabf6ed0>, <libcomps.Package object 'iwl135-firmware' at 0x7f3bd96d10d8>, <libcomps.Package object 'openssh-server' at 0x7f3bdabf6de0>, <libcomps.Package object 'iwl2030-firmware' at 0x7f3bd96d1108>, <libcomps.Package object 'audit' at 0x7f3bdabf6ba0>, <libcomps.Package object 'NetworkManager' at 0x7f3bdabf6b88>, <libcomps.Package object 'coreutils' at 0x7f3bdabf6be8>, <libcomps.Package object 'rsyslog' at 0x7f3bdabf6fc0>, <libcomps.Package object 'iwl5000-firmware' at 0x7f3bd96d1138>, <libcomps.Package object 'curl' at 0x7f3bdabf6c18>, <libcomps.Package object 'selinux-policy-targeted' at 0x7f3bdabf6e88>, <libcomps.Package object 'dnf-plugins-core' at 0x7f3bd96d1060>}
|
||||||
|
selected group: core
|
||||||
|
Unable to create appliance : Failed to find package 'vim' : No match for argument: vim
|
||||||
|
umount:
|
||||||
|
/var/tmp/imgcreate-_dz_plxo/install_root/var/cache/dnf:
|
||||||
|
target
|
||||||
|
is
|
||||||
|
busy.
|
||||||
|
Unmounting directory /var/tmp/imgcreate-_dz_plxo/install_root/boot
|
||||||
|
Unmounting directory /var/tmp/imgcreate-_dz_plxo/install_root/
|
||||||
|
Removing compat symlinks
|
||||||
|
Unmapping /dev/loop11
|
||||||
|
Losetup remove /dev/loop11
|
0
logs/create_image220628.log
Normal file
0
logs/create_image220628.log
Normal file
@ -1,4 +1,4 @@
|
|||||||
(This file comes from the kickstart/appliance-creator repo: https://git.rockylinux.org/skip/RockyRpi )
|
(This file comes from the kickstart/appliance-creator repo: https://git.resf.org/codedude/RockyRpi )
|
||||||
|
|
||||||
Rocky 8 Raspberry Pi Images
|
Rocky 8 Raspberry Pi Images
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user