mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix ntp permission on /var/lib/ntp
This commit is contained in:
parent
b3fed40cd9
commit
d20fffc054
2 changed files with 9 additions and 0 deletions
7
usr/lib/initcpio/hooks/arch_tz
Normal file
7
usr/lib/initcpio/hooks/arch_tz
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
|
|
||||||
|
run_hook ()
|
||||||
|
{
|
||||||
|
# fix ntp user permission
|
||||||
|
chown ntp /var/lib/ntp
|
||||||
|
}
|
|
@ -15,6 +15,8 @@ build ()
|
||||||
add_file "/usr/share/archboot/tz/tz" "/usr/bin/tz"
|
add_file "/usr/share/archboot/tz/tz" "/usr/bin/tz"
|
||||||
# fix licenses
|
# fix licenses
|
||||||
add_file "/usr/share/licenses/ntp/LICENSE"
|
add_file "/usr/share/licenses/ntp/LICENSE"
|
||||||
|
|
||||||
|
add_runscript
|
||||||
}
|
}
|
||||||
|
|
||||||
help ()
|
help ()
|
||||||
|
|
Loading…
Reference in a new issue