util-linux-ng: use /var/lib/hwclock as suggested by LFS.
--HG-- extra : convert_revision : 69e91a921185e4f4ca05349e5482172183b434fa
This commit is contained in:
parent
955f9f3d74
commit
30ddc236cd
1 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,13 @@ Add_dependency run coreutils
|
||||||
Add_dependency run ncurses-libs
|
Add_dependency run ncurses-libs
|
||||||
Add_dependency run zlib
|
Add_dependency run zlib
|
||||||
|
|
||||||
|
post_configure()
|
||||||
|
{
|
||||||
|
cd $wrksrc
|
||||||
|
sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g'
|
||||||
|
-i $(grep -rl '/etc/adjtime' .)
|
||||||
|
}
|
||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||||
|
@ -28,4 +35,5 @@ post_install()
|
||||||
# Move logger to /bin.
|
# Move logger to /bin.
|
||||||
install -d -m 755 ${destdir}/bin
|
install -d -m 755 ${destdir}/bin
|
||||||
mv ${destdir}/usr/bin/logger ${destdir}/bin
|
mv ${destdir}/usr/bin/logger ${destdir}/bin
|
||||||
|
mkdir -p ${destdir}/var/lib/hwclock
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue