I wrote a script for making a core20 with glibc from proposed in it:

#!/bin/sh
set -eux
snap download --basename core20_prehax core20
unsquashfs -d core20 core20_prehax.snap
a=$(dpkg --print-architecture)
v=2.31-0ubuntu9.5
build=https://launchpad.net/ubuntu/+source/glibc/${v}/+latestbuild/${a}/+files
for p in libc6 libc-bin; do
    deb=${p}_${v}_${a}.deb
    wget $build/$deb
    dpkg-deb --fsys-tarfile $deb | sudo chroot core20 tar 
--keep-directory-symlink -x
done
curl 
https://raw.githubusercontent.com/snapcore/core20/master/hooks/029-fix-ld-so-symlink.chroot
 > core20/hook.sh
chroot core20 bash hook.sh
rm core20/hook.sh
snap pack --filename core20_posthax.snap core20
snap install --dangerous ./core20_posthax.snap

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951033

Title:
  20.04 SRU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1951033/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to