RockyRpi merge requestshttps://git.rockylinux.org/skip/RockyRpi/-/merge_requests2021-07-30T20:51:53Zhttps://git.rockylinux.org/skip/RockyRpi/-/merge_requests/5Minor cleanups & Move appending PARRTUUID to a %post action in the ks2021-07-30T20:51:53ZMark VerlindeMinor cleanups & Move appending PARRTUUID to a %post action in the ks_Minor cleanups_
- RPI's do not have a bootlaoder known by linux distro's
- chrony is already enabled @services
- remove script for wifi fix, it is already done @image creation
- rootfs-expand needs root privileges
_Group sections in f..._Minor cleanups_
- RPI's do not have a bootlaoder known by linux distro's
- chrony is already enabled @services
- remove script for wifi fix, it is already done @image creation
- rootfs-expand needs root privileges
_Group sections in functional order _
(Note this does not change anything,
to me this workflow makes the ks more readable)
- first all system related tweaks
- second user creation
- last cleanup
_Clean yum cache_
- should reduce size shipped compressed image
_Refactor default user creation_
- FIXME: why does the kickstart fail to create a user with appliance-tools?
_Move PARRTUUID to a %post action in the ks_
- also chown the result ro the $SUDO_USER if ran with sudohttps://git.rockylinux.org/skip/RockyRpi/-/merge_requests/2Ran through ShellCheck.2021-07-08T20:17:34ZChris Stackpolestack@rockylinux.orgRan through ShellCheck.Removed Draft status now that I've run through it a few times. Also a few more changes then the original shellcheck.
1. Cleaned up all the ShellCheck errors.
2. I ran into issues because my loopback was loop1p3, not loop0p3... and durin...Removed Draft status now that I've run through it a few times. Also a few more changes then the original shellcheck.
1. Cleaned up all the ShellCheck errors.
2. I ran into issues because my loopback was loop1p3, not loop0p3... and during testing/experimenting it changed to loop2p3. I worked around that by pulling the information out of kpartx itself. It does make the mount on line 47 a bit messier, but easy enough to handle. I might take another crack at cleaning it up later. I thought about pulling the info out of the first run of kpartx, but thought the readability was slightly better then calling kpartx a second time.
3. There was an awk followed by a double tr. I pulled it all into awk to save two commands and two pipes. Yeah, I know it's not that much of a computational savings but if awk is already being used... :shrug:
I got two successful builds and am calling it good enough for now. I'll gladly take feedback if I can help clean it up any more.https://git.rockylinux.org/skip/RockyRpi/-/merge_requests/1Cleaning up a duplicate package section2021-07-08T20:16:57ZChris Stackpolestack@rockylinux.orgCleaning up a duplicate package sectionI noticed there were two package sections. The second one had an additional package the first didn't so I dumped the first.I noticed there were two package sections. The second one had an additional package the first didn't so I dumped the first.