Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
86
Issues
86
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
33
Merge Requests
33
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
core
Commits
e7f3ce07
Commit
e7f3ce07
authored
Apr 12, 2011
by
philm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update filesystem
parent
ef1f6e69
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
17 deletions
+29
-17
filesystem/PKGBUILD
filesystem/PKGBUILD
+20
-15
filesystem/filesystem.install
filesystem/filesystem.install
+3
-0
filesystem/group
filesystem/group
+2
-0
filesystem/gshadow
filesystem/gshadow
+2
-0
filesystem/issue
filesystem/issue
+1
-1
filesystem/profile
filesystem/profile
+1
-1
No files found.
filesystem/PKGBUILD
View file @
e7f3ce07
#
# 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"
}
filesystem/filesystem.install
View file @
e7f3ce07
...
...
@@ -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
...
...
filesystem/group
View file @
e7f3ce07
...
...
@@ -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:
filesystem/gshadow
View file @
e7f3ce07
...
...
@@ -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:::
filesystem/issue
View file @
e7f3ce07
[H[2J
Chakra Linux
(2011.04 - Aida)
\r (\n) (\l)
Chakra Linux \r (\n) (\l)
filesystem/profile
View file @
e7f3ce07
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment