File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ RPM_URL="https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/35
6060# Download
6161curl -fsSL " $RPM_URL " -o /tmp/glibc.rpm
6262
63- # Extract directly
63+ # Extract directly with bsdtar
6464echo " >>> Extracting RPM with bsdtar"
6565bsdtar -C /tmp -xf /tmp/glibc.rpm
6666
67- # Copy what we need
68- cp -av /lib64/libc.so.6 /lib64/ld-linux-x86-64.so.2 " $PREFIX /lib/"
67+ # Copy needed files from the extracted tree (not host system!)
68+ cp -av /tmp/ lib64/libc.so.6 /tmp/ lib64/ld-linux-x86-64.so.2 " $PREFIX /lib/" || true
6969
70- # Check staged contents
70+ # Check what we staged
7171echo " >>> Contents staged in $PREFIX /lib"
7272ls -l " $PREFIX /lib"
7373
74- # Verify
74+ # Verify version
7575" $PREFIX /lib/libc.so.6" --version || true
You can’t perform that action at this time.
0 commit comments