11 lines
367 B
Plaintext
11 lines
367 B
Plaintext
%post
|
|
set -x
|
|
|
|
# The script that expands root partition
|
|
[ -d /usr/local/bin ] || mkdir --verbose /usr/local/bin
|
|
curl 'https://git.resf.org/thefossguy/sbc-images/raw/branch/rocky-generic/scripts/expand-rootfs.sh' --output /usr/local/bin/expand-rootfs.sh || exit 1
|
|
[ -f /usr/local/bin/expand-rootfs.sh ] && \
|
|
chmod --verbose +x /usr/local/bin/expand-rootfs.sh
|
|
|
|
%end
|