[Bug 283078] emulators/linux_base-rl9: missing mount/unmount command

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Dec 2024 13:23:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283078

--- Comment #3 from Michael Osipov <michaelo@FreeBSD.org> ---
(In reply to Fernando ApesteguĂ­a from comment #1)

Not fully, it is in another package "util-linux-core" and then you have a huge
tail of changes:
diff --git a/emulators/linux_base-rl9/Makefile
b/emulators/linux_base-rl9/Makefile
index a9401e9c6942..6ed3956d3668 100644
--- a/emulators/linux_base-rl9/Makefile
+++ b/emulators/linux_base-rl9/Makefile
@@ -2,0 +3 @@ PORTVERSION=  ${LINUX_DIST_VER}
+PORTREVISION=  1
@@ -37 +38,2 @@ BIN_DISTNAMES=  bash-${bash_ver} \
-       which-${which_ver}
+       which-${which_ver} \
+       util-linux-core-${util_ver}
@@ -158 +160,8 @@ REMOVE_FILES= bin/chfn bin/chsh bin/findmnt bin/login
bin/lsblk bin/lscpu \
-       sbin/clock sbin/debugfs sbin/hwclock sbin/runuser sbin/zramctl
+       sbin/clock sbin/debugfs sbin/hwclock sbin/runuser sbin/zramctl \
+       usr/bin/chrt usr/bin/dmesg usr/bin/flock usr/bin/hardlink \
+       usr/bin/ionice usr/bin/ipcmk usr/bin/ipcrm usr/bin/ipcs usr/bin/kill \
+       usr/bin/logger usr/bin/more usr/bin/mountpoint usr/bin/nsenter \
+       usr/bin/renice usr/bin/setsid usr/bin/taskset usr/bin/unshare \
+       usr/sbin/agetty usr/sbin/blkid usr/sbin/blockdev usr/sbin/fsck \
+       usr/sbin/losetup usr/sbin/mkswap usr/sbin/partx usr/sbin/swapoff \
+       usr/sbin/swapon usr/sbin/switch_root
diff --git a/emulators/linux_base-rl9/distinfo
b/emulators/linux_base-rl9/distinfo
index 708b7fb2142a..02e4b92dd9f1 100644
--- a/emulators/linux_base-rl9/distinfo
+++ b/emulators/linux_base-rl9/distinfo
@@ -1 +1 @@
-TIMESTAMP = 1732740699
+TIMESTAMP = 1734094764
@@ -355,0 +356,4 @@ SIZE (rocky/u/util-linux-2.37.4-20.el9.x86_64.rpm) =
2296252
+SHA256 (rocky/u/util-linux-core-2.37.4-20.el9.aarch64.rpm) =
5707b7c504f04a85ccf95f5f2ac329398dc480356ae7dc5e3b7bcb7559af6479
+SIZE (rocky/u/util-linux-core-2.37.4-20.el9.aarch64.rpm) = 445975
+SHA256 (rocky/u/util-linux-core-2.37.4-20.el9.x86_64.rpm) =
f9a570f7927d3371d48b2207dfb2aec3dbe15862b5846e39fadd0f568d6778b9
+SIZE (rocky/u/util-linux-core-2.37.4-20.el9.x86_64.rpm) = 447799
diff --git a/emulators/linux_base-rl9/pkg-plist.aarch64
b/emulators/linux_base-rl9/pkg-plist.aarch64
index 1c44645bfaee..8f28deb329c3 100644
--- a/emulators/linux_base-rl9/pkg-plist.aarch64
+++ b/emulators/linux_base-rl9/pkg-plist.aarch64
@@ -191,0 +192 @@ usr/bin/mktemp
+usr/bin/mount
@@ -266,0 +268 @@ usr/bin/umask
+usr/bin/umount
@@ -2083,0 +2086 @@ usr/share/man/man8/mklost+found.8.gz
+usr/share/man/man8/mount.8.gz
@@ -2099,0 +2103 @@ usr/share/man/man8/tune2fs.8.gz
+usr/share/man/man8/umount.8.gz
diff --git a/emulators/linux_base-rl9/pkg-plist.amd64
b/emulators/linux_base-rl9/pkg-plist.amd64
index 596db2e15d5b..ac5c441470aa 100644
--- a/emulators/linux_base-rl9/pkg-plist.amd64
+++ b/emulators/linux_base-rl9/pkg-plist.amd64
@@ -192,0 +193 @@ usr/bin/mktemp
+usr/bin/mount
@@ -267,0 +269 @@ usr/bin/umask
+usr/bin/umount
@@ -2421,0 +2424 @@ usr/share/man/man8/mklost+found.8.gz
+usr/share/man/man8/mount.8.gz
@@ -2437,0 +2441 @@ usr/share/man/man8/tune2fs.8.gz
+usr/share/man/man8/umount.8.gz

But that is incomplete because ther are still orphaned files missing in
pkg-plist. All of them need to go into REMOVE_FILES.

-- 
You are receiving this mail because:
You are the assignee for the bug.