About upgrading to glibc-2.40

"tjoen" ([email protected] via lfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
www.linuxfromscratch.org/lfs/view/stable-systemd/chapter08/glibc.html
Running LFS for about 15 years. With RPM.
Failed twice upgrading glibc with RPM
I came with a new idea:

1. add in %pre
    rpm -e --justdb --nodeps glibc
2. add in %install
    cd $RPM_BUILD_ROOT/
    mkdir usr/lib64/glibc
    mv lib64/*.so.* usr/lib64/glibc/
3. add in %post
    install /usr/lib64/glibc/*.so.* /lib64/

(/lib64 is a symlink to /usr/lib64)

Would that work?

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.