mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
distro-builder that also generates proper locales
This commit is contained in:
parent
48e242449e
commit
f3dd6be0d6
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Plugbox Linux Distribution Image Builder
|
||||
# Version 0.1.1
|
||||
# Version 0.1.2
|
||||
#
|
||||
# Licensed under the GPLv2.
|
||||
#
|
||||
|
@ -25,6 +25,9 @@ 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
|
||||
rm $1/etc/locale.gen
|
||||
echo "en_US.UTF-8 UTF-8" >> $1/etc/locale.gen
|
||||
echo "en_US ISO-8859-1" >> $1/etc/locale.gen
|
||||
chroot $1/ /usr/sbin/locale-gen
|
||||
chroot $1/ /usr/bin/pacman -Scc
|
||||
|
||||
|
|
Loading…
Reference in a new issue