mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/filesystem to 2012.8-1
This commit is contained in:
parent
0ac28f1ec3
commit
c35e4ea06a
3 changed files with 127 additions and 7 deletions
|
@ -1,11 +1,8 @@
|
||||||
# $Id: PKGBUILD 164225 2012-07-27 22:02:26Z tomegun $
|
# $Id: PKGBUILD 165799 2012-08-30 16:58:37Z tomegun $
|
||||||
# Maintainer: Tom Gundersen <teg@jklm.no>
|
# Maintainer: Tom Gundersen <teg@jklm.no>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
||||||
# - add our information to os-release
|
|
||||||
|
|
||||||
pkgname=filesystem
|
pkgname=filesystem
|
||||||
pkgver=2012.7
|
pkgver=2012.8
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Base filesystem'
|
pkgdesc='Base filesystem'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -13,13 +10,20 @@ license=('GPL')
|
||||||
url='http://www.archlinux.org'
|
url='http://www.archlinux.org'
|
||||||
groups=('base')
|
groups=('base')
|
||||||
install='filesystem.install'
|
install='filesystem.install'
|
||||||
|
makedepends=('asciidoc')
|
||||||
depends=('iana-etc' 'bash' 'coreutils')
|
depends=('iana-etc' 'bash' 'coreutils')
|
||||||
backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd'
|
backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd'
|
||||||
'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf'
|
'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf'
|
||||||
'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue')
|
'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue')
|
||||||
source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
|
source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
|
||||||
'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf'
|
'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf'
|
||||||
'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
|
'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first' 'archlinux.7.txt'
|
||||||
|
'locale.sh')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${srcdir}
|
||||||
|
a2x -d manpage -f manpage archlinux.7.txt
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgdir}
|
cd ${pkgdir}
|
||||||
|
@ -48,6 +52,7 @@ package() {
|
||||||
done
|
done
|
||||||
touch etc/arch-release
|
touch etc/arch-release
|
||||||
install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first usr/lib/modprobe.d/usb-load-ehci-first.conf
|
install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first usr/lib/modprobe.d/usb-load-ehci-first.conf
|
||||||
|
install -m755 ${srcdir}/locale.sh etc/profile.d/locale.sh
|
||||||
|
|
||||||
# setup /var
|
# setup /var
|
||||||
for d in cache/man local opt log/old lib/misc empty; do
|
for d in cache/man local opt log/old lib/misc empty; do
|
||||||
|
@ -70,6 +75,10 @@ package() {
|
||||||
install -d -m755 usr/share/man/man${d}
|
install -d -m755 usr/share/man/man${d}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
#
|
||||||
|
# install archlinux(7) manpage
|
||||||
|
#
|
||||||
|
install -D -m644 ${srcdir}/archlinux.7 usr/share/man/man7/archlinux.7
|
||||||
|
|
||||||
#
|
#
|
||||||
# setup /usr/local hierarchy
|
# setup /usr/local hierarchy
|
||||||
|
@ -96,4 +105,6 @@ md5sums=('45940618da782cc391c59f88ab3333c3'
|
||||||
'22518e922891f9359f971f4f5b4e793c'
|
'22518e922891f9359f971f4f5b4e793c'
|
||||||
'f95416882cef800edef08382a1176b7d'
|
'f95416882cef800edef08382a1176b7d'
|
||||||
'f3b6ae7db8adffaaa4bffc6099dcbd50'
|
'f3b6ae7db8adffaaa4bffc6099dcbd50'
|
||||||
'a8a962370cd0128465d514e6a1f74130')
|
'a8a962370cd0128465d514e6a1f74130'
|
||||||
|
'3b6d203a3808943a47fb19498816537f'
|
||||||
|
'3807d07215d9116331fe1cf8feeaa0f8')
|
||||||
|
|
81
core/filesystem/archlinux.7.txt
Normal file
81
core/filesystem/archlinux.7.txt
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
/////
|
||||||
|
vim:set ts=4 sw=4 syntax=asciidoc noet:
|
||||||
|
/////
|
||||||
|
archlinux(7)
|
||||||
|
============
|
||||||
|
|
||||||
|
NAME
|
||||||
|
----
|
||||||
|
archlinux - basic configuration
|
||||||
|
|
||||||
|
SYNOPSIS
|
||||||
|
--------
|
||||||
|
Overview of the basic configuration of Arch Linux.
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
-----------
|
||||||
|
Arch Linux exposes the user to the system without hiding any details. This manpage gives a
|
||||||
|
brief overview of the configuration files that should be set up on a fresh install.
|
||||||
|
|
||||||
|
INITSCRIPTS[[I]]
|
||||||
|
----------------
|
||||||
|
The initscripts are configured in rc.conf. Here you configure what daemons to start on boot, what storage
|
||||||
|
technologies should be enabled and, optionally, a basic network setup.
|
||||||
|
|
||||||
|
HOSTNAME[[H]]
|
||||||
|
-------------
|
||||||
|
The hostname of the machine should be set in /etc/hostname. Additionally, either /etc/hosts should be
|
||||||
|
configured accordingly, or nss-myhostname should be used. This is needed so the hostname can always
|
||||||
|
be resolved to the current machine, which is required by some programs.
|
||||||
|
|
||||||
|
LOCALIZATION[[L]]
|
||||||
|
-----------------
|
||||||
|
Various locales may be enabled in /etc/locale.gen, and generated by locale-gen. The system-wide locale to be used
|
||||||
|
can be configured in /etc/locale.conf. These settings can be overridden on a par-user basis by keeping a
|
||||||
|
user-spcefic locale.conf in $HOME/.config/locale.conf. The user-specific file will take precedence if it exists.
|
||||||
|
|
||||||
|
VIRTUAL CONSOLE[[V]]
|
||||||
|
--------------------
|
||||||
|
The virtual console is configured in /etc/vconsole.conf. It allows you to set a font and a keyboard layout, among
|
||||||
|
other things. Note that these settings only apply to the console, and not if you use X.
|
||||||
|
|
||||||
|
TIME[[T]]
|
||||||
|
---------
|
||||||
|
The local timezone is configured by *symlinking* /etc/localtime to the correct zoneinfo file under
|
||||||
|
/usr/share/zoneinfo/. E.g.,
|
||||||
|
|
||||||
|
/etc/localtime -> /usr/share/zoneinfo/Europe/Paris
|
||||||
|
|
||||||
|
The real-time clock, which keeps track of time when the computer is off, can be configured to either
|
||||||
|
be in UTC or in localtime in /etc/adjtime. The default is UTC.
|
||||||
|
|
||||||
|
FILESYSTEMS[[F]]
|
||||||
|
----------------
|
||||||
|
Filesystems are configured in /etc/fstab, and encryption mappings are configured in /etc/crypttab.
|
||||||
|
|
||||||
|
INITRAMFS[[R]]
|
||||||
|
--------------
|
||||||
|
The initramfs is generated by mkinitcpio, and can be configured in /etc/mkinitcpio.conf.
|
||||||
|
|
||||||
|
PACKAGE MANAGER[[P]]
|
||||||
|
--------------------
|
||||||
|
The package manager, pacman, is configured in /etc/pacman.conf.
|
||||||
|
|
||||||
|
BOOTLOADER[[B]]
|
||||||
|
---------------
|
||||||
|
GRUB's configuration is generated from /etc/default/grub by grub-mkconfig. Syslinux is configured in /boot/syslinux/syslinux.cfg
|
||||||
|
|
||||||
|
MODULES[[M]]
|
||||||
|
------------
|
||||||
|
Most modules should be loaded on-demand. Modules to be unconditionally loaded at boot can be specified in /etc/modules-load.d/,
|
||||||
|
and modules to be blacklisted from auto-loading can be configured in /etc/modprobe.d/.
|
||||||
|
|
||||||
|
SEE ALSO
|
||||||
|
--------
|
||||||
|
|
||||||
|
rc.conf(5), hostname(5), hosts(5), nsswitch.conf(5), locale.conf(5), vconsole.conf(5), timezone(3), hwclock(8), fstab(5), crypttab(5),
|
||||||
|
mkinitcpio(8), pacman(8), pacman.conf(5), grub-mkconfig(8), syslinux(1), modules-load.d(5), modprobe.d(5)
|
||||||
|
|
||||||
|
AUTHORS
|
||||||
|
-------
|
||||||
|
Written by Tom Gundersen.
|
28
core/filesystem/locale.sh
Normal file
28
core/filesystem/locale.sh
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES \
|
||||||
|
LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
|
||||||
|
|
||||||
|
if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then
|
||||||
|
. "$XDG_CONFIG_HOME/locale.conf"
|
||||||
|
elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then
|
||||||
|
. "$HOME/.config/locale.conf"
|
||||||
|
elif [ -r /etc/locale.conf ]; then
|
||||||
|
. /etc/locale.conf
|
||||||
|
elif [ -r /etc/rc.conf ]; then
|
||||||
|
LANG=$(. /etc/rc.conf 2>/dev/null; echo "$LOCALE")
|
||||||
|
fi
|
||||||
|
|
||||||
|
export LANG="${LANG:-C}"
|
||||||
|
[ -n "$LC_CTYPE" ] && export LC_CTYPE
|
||||||
|
[ -n "$LC_NUMERIC" ] && export LC_NUMERIC
|
||||||
|
[ -n "$LC_TIME" ] && export LC_TIME
|
||||||
|
[ -n "$LC_COLLATE" ] && export LC_COLLATE
|
||||||
|
[ -n "$LC_MONETARY" ] && export LC_MONETARY
|
||||||
|
[ -n "$LC_MESSAGES" ] && export LC_MESSAGES
|
||||||
|
[ -n "$LC_PAPER" ] && export LC_PAPER
|
||||||
|
[ -n "$LC_NAME" ] && export LC_NAME
|
||||||
|
[ -n "$LC_ADDRESS" ] && export LC_ADDRESS
|
||||||
|
[ -n "$LC_TELEPHONE" ] && export LC_TELEPHONE
|
||||||
|
[ -n "$LC_MEASUREMENT" ] && export LC_MEASUREMENT
|
||||||
|
[ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION
|
Loading…
Reference in a new issue