index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | nl6720 <nl6720@gmail.com> | 2022-08-28 15:10:12 +0300 |
---|---|---|
committer | nl6720 <nl6720@gmail.com> | 2022-08-28 15:10:12 +0300 |
commit | 8ed192b70568a5a29a898decba35d0da69608414 (patch) | |
tree | 8f3455bacd5eff283c1c0acab373502557751052 /archiso/mkarchiso | |
parent | 642beb7e706474c3c6ef6af361ed81735bfb4d7f (diff) | |
parent | aef242720d8d17bdaf56fd573fff3c02ccc062cb (diff) |
-rwxr-xr-x | archiso/mkarchiso | 5 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 04c1e52..5f0c79b 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -1590,6 +1590,11 @@ _make_version() { [[ ! -e "${_os_release}" ]] || sed -i '/^IMAGE_ID=/d;/^IMAGE_VERSION=/d' "${_os_release}" printf 'IMAGE_ID=%s\nIMAGE_VERSION=%s\n' "${iso_name}" "${iso_version}" >> "${_os_release}" fi + + # Touch /usr/lib/clock-epoch to give another hint on date and time + # for systems with screwed or broken RTC. + touch -m -d"@${SOURCE_DATE_EPOCH}" -- "${pacstrap_dir}/usr/lib/clock-epoch" + _msg_info "Done!" } |