Browse Source

Dimitar Zhekov <jimmy@is-vn.bg>:

fixed the STONE install module to only offer filesystem creation if the
user-space tools are present 


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1714 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Dimitar Zhekov 21 years ago
parent
commit
0f9673598b
2 changed files with 10 additions and 4 deletions
  1. +2
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +8
    -4
      package/base/sysfiles/stone_mod_install.sh

+ 2
- 0
Documentation/Developers/CHANGELOG-RENE

@ -9,6 +9,8 @@
fixed zgv and xzgv to be be ANSI C compliant
really do not run fc-cache in xfree86
run mkttfontdir in the xfree86.cron job
fixed the STONE install module to only offer filesystem
creation if the user-space tools are present
- updated anjuta and moved it into the gnome24 repository
*) 2003-11-06 (2.0.0-rc2 - 2.0.0-rc3)

+ 8
- 4
package/base/sysfiles/stone_mod_install.sh

@ -58,11 +58,15 @@ part_mkfs() {
cmd="$cmd 'reiserfs (journaling filesystem)'"
cmd="$cmd 'mkreiserfs /dev/$1/$2'"
cmd="$cmd 'IBM JFS (journaling filesystem)'"
cmd="$cmd 'jfs_mkfs /dev/$1/$2'"
if type -p jfs_mkfs > /dev/null ; then
cmd="$cmd 'IBM JFS (journaling filesystem)'"
cmd="$cmd 'jfs_mkfs /dev/$1/$2'"
fi
cmd="$cmd 'SGI XFS (journaling filesystem)'"
cmd="$cmd 'mkfs.xfs /dev/$1/$2'"
if type -p mkfs.xfs > /dev/null ; then
cmd="$cmd 'SGI XFS (journaling filesystem)'"
cmd="$cmd 'mkfs.xfs /dev/$1/$2'"
fi
eval "$cmd" && part_mount $1 $2
}

Loading…
Cancel
Save