Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 17 years ago
parent
commit
0cbd42aa46
2 changed files with 9 additions and 8 deletions
  1. +9
    -3
      package/base/00-dirtree/00-dirtree.conf
  2. +0
    -5
      package/base/00-dirtree/data.txt

+ 9
- 3
package/base/00-dirtree/00-dirtree.conf

@ -1,3 +1,4 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
@ -24,7 +25,14 @@
main_dt() {
echo -n "Change to root directory ... "
mkdir -p $xroot/ ; cd $xroot/ ; echo 'done'
mkdir -p "$xroot"/{,usr/,usr/local/}lib
if [ "$ROCKCFG_MULTILIB" = 1 ] ; then
if [ "$arch_target64" ] ; then
mkdir -p "$xroot"/{,usr/,usr/local/}lib64
fi
fi
while read a b c d e ; do
if [ "$a" = "chmod" -o "$a" = "chown" ] ; then
echo "Running $a ($b) on $c ..."
@ -38,8 +46,6 @@ main_dt() {
elif [ "$a" = "l" -o "$a" = "l$(( arch_sizeof_char_p * 8 ))" ] ; then
echo "Create symlink $b ($c) ..."
ln -fsn "$c" "$xroot/$b"
elif [ "$a" = "l64" ] ; then
true
elif [ "$a" = "mknod" ] ; then
echo "Create device node $b ..."
$a "$xroot/$b" $c $d $e

+ 0
- 5
package/base/00-dirtree/data.txt

@ -43,7 +43,6 @@ m etc/profile.d
m etc/stone.d
m etc/skel
m home
m lib
m lib/modules
m media
m mnt
@ -58,7 +57,6 @@ m usr
m usr/bin
m usr/games
m usr/include
m usr/lib
m usr/local
m usr/local/bin
m usr/local/etc
@ -129,9 +127,6 @@ l usr/var ../var
l var/spool/mail ../mail
l var/state/pkgtool ../adm
l64 lib64 lib
l64 usr/lib64 lib
chmod 0700 root
chmod ugo=rwxt tmp
chmod ugo=rwxt var/mail

Loading…
Cancel
Save