vmklive: add some missing changes from 0.8.

This commit is contained in:
Juan RP 2012-05-29 14:11:27 +02:00
parent b465c7bb7a
commit 2cb27b0045
3 changed files with 9 additions and 2 deletions

View File

@ -10,7 +10,7 @@ echo "USERNAME=$USERNAME" >> ${NEWROOT}/etc/default/live.conf
chmod 644 ${NEWROOT}/etc/default/live.conf
# Create new user and remove password. We'll use autologin by default.
chroot ${NEWROOT} useradd -c $USERNAME -m $USERNAME -G audio,video,wheel -s /bin/bash
chroot ${NEWROOT} useradd -c $USERNAME -m $USERNAME -G audio,video,wheel -s /bin/sh
chroot ${NEWROOT} passwd -d $USERNAME 2>&1 >/dev/null
# Enable sudo permission by default.

View File

@ -381,6 +381,13 @@ for f in $ROOTFS_REPODIR/*; do
rm -f $f/rindex-files.plist
done
# install lsblk and blkid from util-linux. to avoid installing
# the whole package.
_lsblk=$(which lsblk)
_blkid=$(which blkid)
install -Dm755 ${_lsblk} "$ROOTFS/usr/bin/lsblk" || error_out $?
install -Dm755 ${_blkid} "$ROOTFS/sbin/blkid" || error_out $?
#
# The pseudofs aren't needed anymore in target rootfs.
#

View File

@ -1,6 +1,6 @@
# Template file for 'vmklive'
pkgname=vmklive
version=0.9.0
version=0.9.1
replaces="xbps-mklive>=0 vanilla-mklive>=0"
noextract=yes
noarch=yes