* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 62d2bc18a1bb81d41344dffc0856369da42b21e9
@ 2025-07-08 8:17 Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-07-08 8:17 UTC (permalink / raw)
To: ipfire-scm
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 62d2bc18a1bb81d41344dffc0856369da42b21e9 (commit)
from cf9ed067657ac8a4c66b7e6d56f6b0cbb369a3d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 62d2bc18a1bb81d41344dffc0856369da42b21e9
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Tue Jul 8 08:15:53 2025 +0000
btrfs-progs: Fix incorrectly installed shared objects
Please see the comment in the LFS file.
This patch prevents the filesystem-cleanup script from removing
libbtrfs*.so.*.
Reported-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/common/btrfs-progs | 2 --
.../rootfiles/{oldcore/186 => core/197}/filelists/btrfs-progs | 0
config/rootfiles/core/197/update.sh | 3 +++
lfs/btrfs-progs | 10 ++++++++++
4 files changed, 13 insertions(+), 2 deletions(-)
copy config/rootfiles/{oldcore/186 => core/197}/filelists/btrfs-progs (100%)
Difference in files:
diff --git a/config/rootfiles/common/btrfs-progs b/config/rootfiles/common/btrfs-progs
index 829e29ce6..5d1763865 100644
--- a/config/rootfiles/common/btrfs-progs
+++ b/config/rootfiles/common/btrfs-progs
@@ -23,11 +23,9 @@ usr/bin/mkfs.btrfs
#usr/lib/libbtrfs.a
#usr/lib/libbtrfs.so
usr/lib/libbtrfs.so.0
-usr/lib/libbtrfs.so.0.1
usr/lib/libbtrfs.so.0.1.4
#usr/lib/libbtrfsutil.a
#usr/lib/libbtrfsutil.so
usr/lib/libbtrfsutil.so.1
-usr/lib/libbtrfsutil.so.1.3
usr/lib/libbtrfsutil.so.1.3.2
#usr/lib/pkgconfig/libbtrfsutil.pc
diff --git a/config/rootfiles/core/197/filelists/btrfs-progs b/config/rootfiles/core/197/filelists/btrfs-progs
new file mode 120000
index 000000000..d7a2f6f52
--- /dev/null
+++ b/config/rootfiles/core/197/filelists/btrfs-progs
@@ -0,0 +1 @@
+../../../common/btrfs-progs
\ No newline at end of file
diff --git a/config/rootfiles/core/197/update.sh b/config/rootfiles/core/197/update.sh
index c4a11a276..bc6284b9b 100644
--- a/config/rootfiles/core/197/update.sh
+++ b/config/rootfiles/core/197/update.sh
@@ -34,6 +34,9 @@ done
# Stop services
# Remove files
+rm -vf \
+ /usr/lib/libbtrfs.so.0.? \
+ /usr/lib/libbtrfsutil.so.1.?
# Extract files
extract_files
diff --git a/lfs/btrfs-progs b/lfs/btrfs-progs
index cbeb179f3..a37e3d205 100644
--- a/lfs/btrfs-progs
+++ b/lfs/btrfs-progs
@@ -83,5 +83,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--disable-python
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
+
+ # This package has an odd way to install its libraries. Instead of
+ # just having libbtrfs.so.0 which links to libbtrfs.so.0.1.4, there
+ # is an extra file called libbtrfs.so.0.1 and likewise for libbtrfsutil.
+ # This confuses our filesystem-cleanup script and is unnecessary.
+ # Therefore we remove the superfluous symlinks.
+ rm -vf \
+ /usr/lib/libbtrfs.so.0.? \
+ /usr/lib/libbtrfsutil.so.1.?
+
@rm -rf $(DIR_APP)
@$(POSTBUILD)
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-08 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-08 8:17 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 62d2bc18a1bb81d41344dffc0856369da42b21e9 Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox