base-files: create /etc/mtab symlink in pkg.
This commit is contained in:
parent
45e3ad8e64
commit
4968eefe94
2 changed files with 4 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
||||||
case "${ACTION}" in
|
|
||||||
post)
|
|
||||||
[ ! -h etc/mtab ] && ln -sf /proc/self/mounts etc/mtab
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.77
|
version=0.78
|
||||||
revision=1
|
revision=1
|
||||||
fulldepends="base-directories xbps-triggers"
|
fulldepends="base-directories xbps-triggers"
|
||||||
short_desc="Void Linux base system files"
|
short_desc="Void Linux base system files"
|
||||||
|
@ -60,4 +60,7 @@ do_install() {
|
||||||
# Install default dracut configuration.
|
# Install default dracut configuration.
|
||||||
vinstall ${FILESDIR}/dracut.conf.d.voidlinux.conf 644 \
|
vinstall ${FILESDIR}/dracut.conf.d.voidlinux.conf 644 \
|
||||||
etc/dracut.conf.d voidlinux.conf
|
etc/dracut.conf.d voidlinux.conf
|
||||||
|
|
||||||
|
# Create /proc/self/mounts -> /etc/mtab symlink.
|
||||||
|
ln -sf /proc/self/mounts ${DESTDIR}/etc/mtab
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue