Server IP : 149.255.58.128 / Your IP : 216.73.216.28
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib/rpm//brp-boot-efi-times
#!/usr/bin/bash -eu
# If using normal root, avoid changing anything.
if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
exit 0
fi
if [[ ! -d "$RPM_BUILD_ROOT//boot/efi" ]] ; then
exit 0
fi
update() {
local path="$1"
local ctime=$(stat -c "%Z" "${path}")
# we always want to touch it once...
if [[ $((${ctime} % 2)) -eq 0 ]] ; then
let ++ctime
fi
while [[ $((${ctime} % 2)) -eq 1 ]] ; do
let ++ctime
touch -h -c -d "@${ctime}" "${path}"
ctime=$(stat -c "%Z" "${path}")
done
}
declare -a dirs
dirs=() || :
cd "$RPM_BUILD_ROOT"
while IFS= read -r -d $'\0' f; do
if [[ -d "${f}" ]] ; then
dirs[${#dirs[@]}]="${f}"
else
update "${f}"
fi
done < <(find ./boot/efi/ -print0)
# sort the directory list lexicographically, longest-first, so a parent dir's
# updated mtime won't be clobbered by the child dir being updated, if some day
# someone actually makes that matter.
#
# I don't think we actually have to do this on linux, but
# $RPM_BUILD_ROOT//boot/efi/ isn't going to have but so many files on
# it.
let i=0 || :
let j=1
while [[ ${i} -lt ${#dirs[@]} ]] && [[ ${j} -lt ${#dirs[@]} ]] ; do
if [[ "${dirs[$i]}" < "${dirs[$j]}" ]] ; then
tmp="${dirs[$i]}"
dirs[$i]="${dirs[$j]}"
dirs[$j]="${tmp}"
else
let ++j
fi
if [[ ${j} -ge ${#dirs[@]} ]] ; then
let ++i
let ++j
fi
done
# and now just process them just like files.
if [[ ${#dirs[@]} -gt 0 ]] ; then
for dir in "${dirs[@]}" ; do
update "${dir}"
done
fi
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 26 2025 22:43:12 | 0 / root | 0555 | |
fileattrs | -- | March 21 2025 22:43:24 | 0 / root | 0755 | |
lua | -- | October 07 2024 07:47:48 | 0 / root | 0755 | |
macros.d | -- | March 21 2025 22:43:24 | 0 / root | 0755 | |
platform | -- | October 07 2024 07:47:48 | 0 / root | 0755 | |
redhat | -- | February 17 2025 22:42:15 | 0 / root | 0755 | |
| | | | | |
brp-boot-efi-times | 1.431 KB | June 08 2022 09:44:52 | 0 / root | 0755 | |
brp-scl-compress | 1.771 KB | July 27 2021 15:14:26 | 0 / root | 0755 | |
brp-scl-python-bytecompile | 3.041 KB | July 27 2021 15:14:26 | 0 / root | 0755 | |
gstreamer1.prov | 0.928 KB | September 27 2023 03:39:23 | 0 / root | 0755 | |
macros | 43.124 KB | October 07 2024 07:47:48 | 0 / root | 0644 | |
nodejs_native.req | 0.072 KB | May 20 2024 06:02:20 | 0 / root | 0755 | |
rpm.daily | 0.289 KB | May 28 2020 10:04:25 | 0 / root | 0644 | |
rpm.log | 0.06 KB | May 28 2020 10:04:25 | 0 / root | 0644 | |
rpm.supp | 0.672 KB | May 28 2020 10:04:25 | 0 / root | 0644 | |
rpm2cpio.sh | 1.56 KB | October 07 2024 07:46:58 | 0 / root | 0755 | |
rpmdb_dump | 0.04 KB | May 28 2020 10:04:25 | 0 / root | 0755 | |
rpmdb_load | 0.04 KB | May 28 2020 10:04:25 | 0 / root | 0755 | |
rpmpopt-4.16.1.3 | 11.828 KB | October 07 2024 07:47:33 | 0 / root | 0644 | |
rpmrc | 17.24 KB | October 07 2024 07:47:33 | 0 / root | 0644 | |
scldeps.sh | 0.252 KB | July 27 2021 15:14:26 | 0 / root | 0755 | |
sysusers.generate-pre.sh | 2.217 KB | March 18 2025 04:21:31 | 0 / root | 0755 | |
sysusers.prov | 0.591 KB | March 18 2025 04:21:31 | 0 / root | 0755 | |
tgpg | 0.915 KB | May 28 2020 10:04:25 | 0 / root | 0755 | |