uname: make uname -r and -v both print out full version info.

the world seems to expect this, and do this.
This commit is contained in:
Ben Gras
2010-07-21 12:47:48 +00:00
parent f6655c171b
commit 63deb069bb
4 changed files with 8 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ hdboot)
"exec mv $rootdir/boot/image /M"
install -d $rootdir/boot/image
su root -c \
"exec mv $rootdir/M $rootdir/boot/image/`uname -r`.`uname -v`"
"exec mv $rootdir/M $rootdir/boot/image/`uname -r`
fi
sh tell_config OS_RELEASE . OS_VERSION >/tmp/mkb.$$

View File

@@ -224,7 +224,7 @@ if [ $PACKAGES -ne 0 ]
then mkdir -p $PACKAGEDIR || true
mkdir -p $PACKAGESOURCEDIR || true
rm -f $PACKAGEDIR/List
retrieve $PACKAGEDIR $PACKAGELIST packages/`uname -p`/`uname -r`.`uname -v`
retrieve $PACKAGEDIR $PACKAGELIST packages/`uname -p`/`uname -r`
retrieve $PACKAGESOURCEDIR $PACKAGESOURCELIST software
fi