mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
distro-builder allows SSH-ing in
This commit is contained in:
parent
0c69c2696e
commit
cf94fb1627
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Plugbox Linux Distribution Image Builder
|
# Plugbox Linux Distribution Image Builder
|
||||||
# Version 0.3.3
|
# Version 0.3.4
|
||||||
#
|
#
|
||||||
# Licensed under the GPLv2.
|
# Licensed under the GPLv2.
|
||||||
#
|
#
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
#
|
#
|
||||||
# ==== Variables to set ====
|
# ==== Variables to set ====
|
||||||
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal"
|
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal"
|
||||||
RELEASEVER=1.1-beta1r2
|
RELEASEVER=1.1-beta1r3
|
||||||
MAKETARGZ=1
|
MAKETARGZ=1
|
||||||
MAKEUBIIMG=1
|
MAKEUBIIMG=1
|
||||||
# ==== The Process ====
|
# ==== The Process ====
|
||||||
|
@ -38,6 +38,7 @@ echo "en_US ISO-8859-1" >> $1/etc/locale.gen
|
||||||
chroot $1/ /usr/sbin/locale-gen
|
chroot $1/ /usr/sbin/locale-gen
|
||||||
chroot $1/ /usr/bin/pacman -Scc --noconfirm
|
chroot $1/ /usr/bin/pacman -Scc --noconfirm
|
||||||
echo $RELEASEVER > $1/etc/plugbox-version
|
echo $RELEASEVER > $1/etc/plugbox-version
|
||||||
|
echo "sshd: ALL" >> $1/etc/hosts.allow
|
||||||
|
|
||||||
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
|
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
|
||||||
if [ $MAKETARGZ = 1 ]; then
|
if [ $MAKETARGZ = 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue