increased swap space, now using parabola release tarball by default
This commit is contained in:
parent
5ccadc8f3b
commit
71f12032d1
14
README
14
README
@ -13,16 +13,14 @@ tarballs.
|
||||
to create a new virtual machine image, run
|
||||
$> sudo ./create.sh
|
||||
|
||||
by default, the creation script will perform a full bootstrap, installing an
|
||||
archlinuxarm release tarball and migrating the installed system to parabola
|
||||
in-place. This behaviour can be changed by setting the environment variable
|
||||
NOBOOTSTRAP to 1:
|
||||
by default, the creation script will use a ParabolaArm release tarball to
|
||||
create the virtual machine. Alternatively, to install an archlinuxarm tarball
|
||||
and migrating the installed system to parabola in-place, set the environment
|
||||
variable ARCHBOOTSTRAP to 1:
|
||||
|
||||
$> sudo NOBOOTSTRAP=1 ./create.sh
|
||||
$> sudo ARCHBOOTSTRAP=1 ./create.sh
|
||||
|
||||
In this case, a parabola arm release tarball is used instead.
|
||||
|
||||
optionally, to create a new virtual machine with a packaging environment, set
|
||||
Optionally, to create a new virtual machine with a packaging environment, set
|
||||
the environment variable DEVSETUP to 1:
|
||||
|
||||
$> sudo DEVSETUP=1 ./create.sh
|
||||
|
@ -30,7 +30,7 @@ die() { echo "$*" 1>&2 ; exit 1; }
|
||||
export OUTFILE="${OUTFILE:-armv7h.img}"
|
||||
export SIZE="${SIZE:-64G}"
|
||||
export ARCHTARBALL="${ARCHTARBALL:-ArchLinuxARM-armv7-latest.tar.gz}"
|
||||
export PARABOLATARBALL="${PARABOLATARBALL:-ParabolaARM-armv7-latest.tar.gz}"
|
||||
export PARABOLATARBALL="${PARABOLATARBALL:-ParabolaARM-armv7-LATEST.tar.gz}"
|
||||
|
||||
export _builddir=build
|
||||
mkdir -p "$_builddir"
|
||||
@ -41,7 +41,7 @@ export _outfile="$_builddir/$(basename "$OUTFILE")"
|
||||
# prepare the empty image
|
||||
./src/stage0.sh
|
||||
|
||||
if [ -z "${NOBOOTSTRAP:-}" ]; then
|
||||
if [ -n "${ARCHBOOTSTRAP:-}" ]; then
|
||||
# install a clean archlinux-arm system in the empty image
|
||||
wget -nc http://os.archlinuxarm.org/os/$ARCHTARBALL
|
||||
TARBALL="$ARCHTARBALL" ./src/stage1.sh
|
||||
|
@ -52,7 +52,6 @@ sudo mount ${_loopdev}p1 "$_rootdir"/boot
|
||||
rm -fvr \
|
||||
"$_rootdir"/root/.ssh \
|
||||
"$_rootdir"/etc/ssh/ssh_host_* \
|
||||
"$_rootdir"/etc/pacman.d/gnupg \
|
||||
"$_rootdir"/var/log/* \
|
||||
"$_rootdir"/var/cache/* \
|
||||
"$_rootdir"/lost+found
|
||||
|
@ -46,8 +46,8 @@ parted -s $_loopdev \
|
||||
mklabel gpt \
|
||||
mkpart ESP fat32 1MiB 513MiB \
|
||||
set 1 boot on \
|
||||
mkpart primary linux-swap 513MiB 1537MiB \
|
||||
mkpart primary ext4 1537MiB 100%
|
||||
mkpart primary linux-swap 513MiB 4609MiB \
|
||||
mkpart primary ext4 4609MiB 100%
|
||||
|
||||
# create filesystems
|
||||
mkfs.vfat -F 32 ${_loopdev}p1
|
||||
|
@ -78,7 +78,7 @@ sed -i 's/^Architecture.*/Architecture = armv7h/' /etc/pacman.conf
|
||||
pacman --noconfirm -Syy
|
||||
pacman --noconfirm -S pacman
|
||||
mv /etc/pacman.conf{.pacnew,}
|
||||
pacman --noconfirm -Syuu
|
||||
pacman --noconfirm -Syyuu
|
||||
pacman --noconfirm -S your-freedom
|
||||
yes | pacman -S linux-libre
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user