Forked from imcsk8/gist:78efd778b36bc6f3a29a872655643c79
Last active
March 26, 2020 19:01
-
-
Save ttys3/4fde1bcecd069d5de451122aae5b5a56 to your computer and use it in GitHub Desktop.
CentOS 8 aarch64 rootfs creation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir repos | |
$ cat <<EOF>> repos/centos.repo | |
[main] | |
arch=aarch64 | |
basearch=aarch64 | |
[centos8-base] | |
name=CentOS-8-Base | |
baseurl=http://mirror.centos.org/centos/8/BaseOS/aarch64/os/ | |
gpgcheck=0 | |
EOF | |
$ mkdir rootfs | |
$ sudo dnf --releasever 8 -c repos/centos.repo --disablerepo=* --enablerepo=centos8-base --installroot="$(pwd)/rootfs" groups install 'Minimal Install' 2>&1| tee dnf-rootfs.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment