|
|
|
@ -34,8 +34,13 @@ clockspeed_install() {
|
|
|
|
|
cp $file $root/$prefix/$dir/$file |
|
|
|
|
done < <( grep "c(.*man\|c(.*bin" hier.c | cut -d \" --output-delimiter ' ' -f 2,4 ) |
|
|
|
|
|
|
|
|
|
# install leapsecs.dat |
|
|
|
|
mkdir -p $root/var/state/clockspeed |
|
|
|
|
cp leapsecs.dat $root/var/state/clockspeed/ |
|
|
|
|
|
|
|
|
|
# install clockctl |
|
|
|
|
rock_substitute "$confdir/clockctl.sh" > "$root$bindir/clockctl" |
|
|
|
|
chmod +x "$root$bindir/clockctl" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hook_add premake 5 'clockspeed_config' |
|
|
|
|