XYZ File Manager
Current Path:
/lib/rpm
lib
/
rpm
/
📁
..
📄
alt-nodejs18-fixdep
(3.48 KB)
📄
alt-nodejs18-provide.sh
(70 B)
📄
alt-nodejs18-require.sh
(69 B)
📄
alt-nodejs18-symlink-deps
(5.21 KB)
📄
alt-nodejs18.prov
(1.92 KB)
📄
alt-nodejs18.req
(6.75 KB)
📄
alt-nodejs18_native.req
(40 B)
📄
alt-nodejs20-fixdep
(3.48 KB)
📄
alt-nodejs20-provide.sh
(70 B)
📄
alt-nodejs20-require.sh
(69 B)
📄
alt-nodejs20-symlink-deps
(5.21 KB)
📄
alt-nodejs20.prov
(1.92 KB)
📄
alt-nodejs20.req
(6.75 KB)
📄
alt-nodejs20_native.req
(44 B)
📄
alt-nodejs22-fixdep
(3.48 KB)
📄
alt-nodejs22-provide.sh
(70 B)
📄
alt-nodejs22-require.sh
(69 B)
📄
alt-nodejs22-symlink-deps
(5.21 KB)
📄
alt-nodejs22.prov
(1.92 KB)
📄
alt-nodejs22.req
(6.75 KB)
📄
alt-nodejs22_native.req
(44 B)
📄
alt-nodejs24-fixdep
(3.48 KB)
📄
alt-nodejs24-provide.sh
(70 B)
📄
alt-nodejs24-require.sh
(69 B)
📄
alt-nodejs24-symlink-deps
(5.21 KB)
📄
alt-nodejs24.prov
(1.92 KB)
📄
alt-nodejs24.req
(6.75 KB)
📄
alt-nodejs24_native.req
(43 B)
📄
brp-boot-efi-times
(1.43 KB)
📄
brp-scl-compress
(1.77 KB)
📄
brp-scl-python-bytecompile
(3.04 KB)
📄
cmake.prov
(2.92 KB)
📄
cmake.req
(2.29 KB)
📁
fileattrs
📄
gstreamer1.prov
(950 B)
📁
lua
📄
macros
(43.12 KB)
📁
macros.d
📁
platform
📁
redhat
📄
rpm.daily
(296 B)
📄
rpm.log
(61 B)
📄
rpm.supp
(688 B)
📄
rpm2cpio.sh
(1.56 KB)
📄
rpmdb_dump
(41 B)
📄
rpmdb_load
(41 B)
📄
rpmpopt-4.16.1.3
(11.83 KB)
📄
rpmrc
(17.24 KB)
📄
scldeps.sh
(258 B)
📄
sysusers.generate-pre.sh
(2.22 KB)
📄
sysusers.prov
(605 B)
📄
tgpg
(937 B)
Editing: 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
Upload File
Create Folder