Commit e7f3ce07 authored by philm's avatar philm

update filesystem

parent ef1f6e69
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
......@@ -5,24 +6,24 @@
pkgname=filesystem
pkgver=2011.04
_codename="Aida"
pkgrel=1
pkgdesc='Base filesystem'
pkgrel=2
_codename=Aida
pkgdesc="Base filesystem"
arch=('any')
license=('GPL')
url='http://www.chakra-project.org'
url="http://www.chakra-project.org"
groups=('base')
options=('sign')
install='filesystem.install'
depends=('iana-etc' 'bash' 'coreutils')
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/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue')
install=filesystem.install
#depends=('sh' 'coreutils')
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/shells etc/host.conf etc/securetty etc/profile etc/issue
etc/chakra-release)
source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'resolv.conf' 'shells'
'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
md5sums=('9f726377379ca186e988aeae8e925693'
'1b5ea62cf6d6e636f8eb6337e1205be2'
md5sums=('d91ae4ba0cbbca99ce4095ff6da8be46'
'363f25fe6f857261b8933b8420924e0a'
'13753e4e0964f3652b0cc60a28528bdf'
'4c4540eeb748bf1f71d631b8c1dcf0b3'
'f28150d4c0b22a017be51b9f7f9977ed'
......@@ -35,8 +36,8 @@ md5sums=('9f726377379ca186e988aeae8e925693'
'd41d8cd98f00b204e9800998ecf8427e'
'6f48288b6fcaf0065fcb7b0e525413e0'
'40dac0de4c6b99c8ca97effbd7527c84'
'59768b5f4080b96b67bcde5f66984ad5'
'51ac5c337236235bf8fe85a9b07b6db1'
'41afb80637b3b989e4f8bacfd80b0818'
'f3b6ae7db8adffaaa4bffc6099dcbd50'
'8098ffd9fbf890468d3198277596b85a')
package() {
......@@ -62,7 +63,7 @@ package() {
for f in gshadow shadow crypttab; do
install -m600 ${srcdir}/${f} ${pkgdir}/etc/
done
echo "$pkgver ($_codename)" > ${pkgdir}/etc/chakra-release
touch ${pkgdir}/etc/arch-release
install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/etc/modprobe.d/usb-load-ehci-first.conf
# setup /var
......@@ -95,4 +96,8 @@ package() {
install -d -m755 ${pkgdir}/usr/local/${d}
done
ln -s ../man ${pkgdir}/usr/local/share/man
# setup chakra tags
echo "Chakra Linux release ${pkgver} (${_codename})" > "${pkgdir}/etc/chakra-release"
sed -i -e "s~Chakra Linux~Chakra Linux (${pkgver} - ${_codename})~g" "${pkgdir}/etc/issue"
}
......@@ -2,6 +2,8 @@ post_install() {
[ -f var/log/lastlog ] || : >var/log/lastlog
[ -f var/log/wtmp ] || : >var/log/wtmp
[ -f var/run/utmp ] || : >var/run/utmp
chown root:20 var/run/utmp
chmod 664 var/run/utmp
[ -f var/log/btmp ] || (: >var/log/btmp && bin/chmod 600 var/log/btmp)
# workaround for bug #7194
# readded due to bug #9465
......@@ -33,6 +35,7 @@ post_upgrade() {
_addgroup floppy -g 94
_addgroup storage -g 95
_addgroup log -g 19
_addgroup utmp -g 20
_addgroup power -g 98
_addgroup network -g 90
_addgroup games -g 50
......
......@@ -13,6 +13,7 @@ ftp:x:11:
mail:x:12:
uucp:x:14:
log:x:19:root
utmp:x:20:
locate:x:21:
rfkill:x:24:
smmsp:x:25:
......@@ -27,4 +28,5 @@ storage:x:95:
scanner:x:96:
power:x:98:
nobody:x:99:
cdemu:x:103:
users:x:1000:
......@@ -13,6 +13,7 @@ ftp:::
mail:::
uucp:::
log:::root
utmp:x::
locate:::
rfkill:x::
smmsp:::
......@@ -27,4 +28,5 @@ storage:x::
scanner:x::
power:x::
nobody:::
cdemu:::
users:::

Chakra Linux (2011.04 - Aida) \r (\n) (\l)
Chakra Linux \r (\n) (\l)
......@@ -10,7 +10,7 @@ export PATH
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r $profile && . $profile
test -r "$profile" && . "$profile"
done
unset profile
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment