Merge branch 'initramfs-dns' into 'main'

add patch for archiso to fix dns name resolution in the initramfs stage

See merge request systemrescue/systemrescue-sources!214
This commit is contained in:
Gerd v. Egidy 2022-07-05 20:03:59 +00:00
commit 9b2bb13393
2 changed files with 22 additions and 0 deletions

View file

@ -5,6 +5,14 @@ IMPORTANT: The 32bit (i686) release of SystemRescue will be deprecated soon
unless volunteers are found to help maintaining it. See
https://gitlab.com/systemrescue/systemrescue-sources/-/issues/278
------------------------------------------------------------------------------
9.04 (YYYY-MM-DD):
-------------------------------------------------------------------------------
* Fix DNS name resolution during the initramfs boot phase
* The "ca-trust" config option is applied to Firefox too
* Add options to the "sysconfig" scope of YAML configs: timezone, authorized_keys, bookmarks
* Fix configuration when there is no YAML file at all (e.g. when booting via PXE)
------------------------------------------------------------------------------
9.03 (2022-05-28):
-------------------------------------------------------------------------------

View file

@ -0,0 +1,14 @@
diff -u -r archiso-43.orig/archiso/initcpio/install/archiso_pxe_common archiso-43/archiso/initcpio/install/archiso_pxe_common
--- archiso-43.orig/archiso/initcpio/install/archiso_pxe_common 2019-10-16 11:10:09.000000000 +0000
+++ archiso-43/archiso/initcpio/install/archiso_pxe_common 2022-07-04 21:27:54.206666328 +0000
@@ -12,6 +12,10 @@
add_binary $(readlink -f /usr/lib/libnss_files.so.2)
add_symlink /usr/lib/libnss_dns.so.2 $(readlink /usr/lib/libnss_dns.so.2)
add_binary $(readlink -f /usr/lib/libnss_dns.so.2)
+ add_symlink /usr/lib/libnss_mymachines.so.2 $(readlink /usr/lib/libnss_mymachines.so.2)
+ add_binary $(readlink -f /usr/lib/libnss_mymachines.so.2)
+ add_symlink /usr/lib/libnss_resolve.so.2 $(readlink /usr/lib/libnss_resolve.so.2)
+ add_binary $(readlink -f /usr/lib/libnss_resolve.so.2)
add_dir /etc
echo "hosts: files dns" > $BUILDROOT/etc/nsswitch.conf