One reason for this is that the symbolic links for libnss_files.so.2 and libnss_dns.so.2 do not exist in the glibc package.
We suggest commenting out the add_symlink in in miso_pxe_common.
diff --git a/initcpio/install/miso_pxe_common b/initcpio/install/miso_pxe_common
index eec9a7e..3d935f1 100644
--- a/initcpio/install/miso_pxe_common
+++ b/initcpio/install/miso_pxe_common
@@ -8,9 +8,9 @@ build() {
add_binary /usr/lib/initcpio/ipconfig /bin/ipconfig
# Add hosts support files+dns
- add_symlink /usr/lib/libnss_files.so.2 $(readlink /usr/lib/libnss_files.so.2)
+ #add_symlink /usr/lib/libnss_files.so.2 $(readlink /usr/lib/libnss_files.so.2)
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_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_dir /etc
Move issues here. tools/development-tools/manjaro-tools#344
When using the loopback device, the losetup command is used to resolve permission issues.
diff --git a/lib/util-iso-mount.sh b/lib/util-iso-mount.sh
index 0c3e05b..b776b0d 100644
--- a/lib/util-iso-mount.sh
+++ b/lib/util-iso-mount.sh
@@ -11,7 +11,8 @@
track_img() {
info "mount: [%s]" "$2"
- mount "$@" && IMG_ACTIVE_MOUNTS=("$2" "${IMG_ACTIVE_MOUNTS[@]}")
+ LOOPBACK=$(losetup --show -f "$1")
+ mount $LOOPBACK "$2" && IMG_ACTIVE_MOUNTS=("$2" "${IMG_ACTIVE_MOUNTS[@]}")
}
mount_img() {
@@ -24,6 +25,7 @@ umount_img() {
if [[ -n ${IMG_ACTIVE_MOUNTS[@]} ]]; then
info "umount: [%s]" "${IMG_ACTIVE_MOUNTS[@]}"
umount "${IMG_ACTIVE_MOUNTS[@]}"
+ losetup -d $LOOPBACK
unset IMG_ACTIVE_MOUNTS
rm -r "$1"
fi
Move issues here. tools/development-tools/manjaro-tools#345 (closed)
One reason for this is that the symbolic links for libnss_files.so.2 and libnss_dns.so.2 do not exist in the glibc package.
We suggest commenting out the add_symlink in in miso_pxe_common.
diff --git a/initcpio/install/miso_pxe_common b/initcpio/install/miso_pxe_common
index eec9a7e..3d935f1 100644
--- a/initcpio/install/miso_pxe_common
+++ b/initcpio/install/miso_pxe_common
@@ -8,9 +8,9 @@ build() {
add_binary /usr/lib/initcpio/ipconfig /bin/ipconfig
# Add hosts support files+dns
- add_symlink /usr/lib/libnss_files.so.2 $(readlink /usr/lib/libnss_files.so.2)
+ #add_symlink /usr/lib/libnss_files.so.2 $(readlink /usr/lib/libnss_files.so.2)
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_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_dir /etc
When using the loopback device, the losetup command is used to resolve permission issues.
diff --git a/lib/util-iso-mount.sh b/lib/util-iso-mount.sh
index 0c3e05b..b776b0d 100644
--- a/lib/util-iso-mount.sh
+++ b/lib/util-iso-mount.sh
@@ -11,7 +11,8 @@
track_img() {
info "mount: [%s]" "$2"
- mount "$@" && IMG_ACTIVE_MOUNTS=("$2" "${IMG_ACTIVE_MOUNTS[@]}")
+ LOOPBACK=$(losetup --show -f "$1")
+ mount $LOOPBACK "$2" && IMG_ACTIVE_MOUNTS=("$2" "${IMG_ACTIVE_MOUNTS[@]}")
}
mount_img() {
@@ -24,6 +25,7 @@ umount_img() {
if [[ -n ${IMG_ACTIVE_MOUNTS[@]} ]]; then
info "umount: [%s]" "${IMG_ACTIVE_MOUNTS[@]}"
umount "${IMG_ACTIVE_MOUNTS[@]}"
+ losetup -d $LOOPBACK
unset IMG_ACTIVE_MOUNTS
rm -r "$1"
fi
Mark Wagie (7d57204b) at 26 Jan 17:04
[prepare] use SPDX license identifer
Mark Wagie (23f08e78) at 24 Jul 20:19
[pkg-upd] r3016.263d640-1
Philip Müller (1a769061) at 24 May 21:08
[pkg-upd] r3009.18b93d6-1
Mark Wagie (3242512f) at 12 Jan 14:45
[pkg-upd] r3004.dc48e4e-2
Mark Wagie (3baa54ae) at 12 Jan 00:03
[pkg-upd] r3004.dc48e4e-1
Mark Wagie (68039acf) at 21 Oct 16:01
[pkg-upd] r3002.7ef0b3d-1
Hi, I would like to ask if the haveged dependency for manjaro-tools-base
is necessary. The manjaro-tools-pkg
can otherwise not be used without haveged.
Could that be made to a optdepend perhaps?
Cheers
Philip Müller (b480d3fd) at 20 Oct 16:05
[upd-pkg] r3000-1
We still support kernels <5.6.
Haveged is no longer needed for kernels above 5.6 so can haveged be removed or at least optional. Note if haveged is included with a newer kernel systemd will not start it, so I can't really see the point of making it optional.
Philip Müller (05b576b9) at 27 Aug 08:53
[pkg-upd] 0.15.14-1
Hi, I would like to ask if the haveged dependency for manjaro-tools-base
is necessary. The manjaro-tools-pkg
can otherwise not be used without haveged.
Could that be made to a optdepend perhaps?
Cheers