mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
Added locale-gen and making proper dev entries to distro-builder script, now at 0.1.1
This commit is contained in:
parent
e95084ef88
commit
48e242449e
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Plugbox Linux Distribution Image Builder
|
||||
# Version 0.0.3
|
||||
# Version 0.1.1
|
||||
#
|
||||
# Licensed under the GPLv2.
|
||||
#
|
||||
|
@ -21,6 +21,11 @@ pacman -Syy -r $1 $INSTALLEDPKGS
|
|||
|
||||
echo -e "\033[1mSetting the password to 'root' and cleaning up:\033[0m"
|
||||
echo -e "root\nroot\n" | chroot $1/ /usr/bin/passwd root
|
||||
rm $1/dev/{console,null,zero}
|
||||
chroot $1/ mknod -m 600 /dev/console c 5 1
|
||||
chroot $1/ mknod -m 666 /dev/null c 1 3
|
||||
chroot $1/ mknod -m 666 /dev/zero c 1 5
|
||||
chroot $1/ /usr/sbin/locale-gen
|
||||
chroot $1/ /usr/bin/pacman -Scc
|
||||
|
||||
echo -e "\033[1mCreating a rootfs.tar.gz...\033[0m"
|
||||
|
|
Loading…
Reference in a new issue