3
0
forked from pool/util-linux

Compact symlink lists

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=453
This commit is contained in:
Jan Engelhardt 2021-09-09 20:13:02 +00:00 committed by Git OBS Bridge
parent c05781d16a
commit 83054a757f
5 changed files with 39 additions and 105 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 25 15:02:00 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- login.pamd: use pam_motd to unify motd handling [bsc#1185897].
Else motd snippets of e.g. cockpit will not be shown.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com> Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -653,41 +653,15 @@ install -m 644 runuser.default %{buildroot}%{_distconfdir}/default/runuser
rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a
%if %build_util_linux %if %build_util_linux
%if !0%{?usrmerged} %if !0%{?usrmerged}
ln -s %{_bindir}/kill %{buildroot}/bin for i in kill su dmesg more mount umount; do
ln -s %{_bindir}/su %{buildroot}/bin ln -s "%{_bindir}/$i" "%{buildroot}/bin/"
ln -s %{_bindir}/dmesg %{buildroot}/bin done
ln -s %{_bindir}/more %{buildroot}/bin for i in agetty blockdev cfdisk ctrlaltdel fdisk fsck.minix fsck.cramfs \
ln -s %{_bindir}/mount %{buildroot}/bin hwclock losetup mkfs mkfs.bfs mkfs.minix mkfs.cramfs mkswap nologin \
ln -s %{_bindir}/umount %{buildroot}/bin pivot_root raw sfdisk swapoff swapon blkid findfs fsck switch_root \
ln -s %{_sbindir}/agetty %{buildroot}/sbin wipefs fsfreeze swaplabel fstrim chcpu; do
ln -s %{_sbindir}/blockdev %{buildroot}/sbin ln -s "%{_sbindir}/$i" "%{buildroot}/sbin/"
ln -s %{_sbindir}/cfdisk %{buildroot}/sbin done
ln -s %{_sbindir}/ctrlaltdel %{buildroot}/sbin
ln -s %{_sbindir}/fdisk %{buildroot}/sbin
ln -s %{_sbindir}/fsck.minix %{buildroot}/sbin
ln -s %{_sbindir}/fsck.cramfs %{buildroot}/sbin
ln -s %{_sbindir}/hwclock %{buildroot}/sbin
ln -s %{_sbindir}/losetup %{buildroot}/sbin
ln -s %{_sbindir}/mkfs %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.bfs %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.minix %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.cramfs %{buildroot}/sbin
ln -s %{_sbindir}/mkswap %{buildroot}/sbin
ln -s %{_sbindir}/nologin %{buildroot}/sbin
ln -s %{_sbindir}/pivot_root %{buildroot}/sbin
ln -s %{_sbindir}/raw %{buildroot}/sbin
ln -s %{_sbindir}/sfdisk %{buildroot}/sbin
ln -s %{_sbindir}/swapoff %{buildroot}/sbin
ln -s %{_sbindir}/swapon %{buildroot}/sbin
ln -s %{_sbindir}/blkid %{buildroot}/sbin
ln -s %{_sbindir}/findfs %{buildroot}/sbin
ln -s %{_sbindir}/fsck %{buildroot}/sbin
ln -s %{_sbindir}/switch_root %{buildroot}/sbin
ln -s %{_sbindir}/wipefs %{buildroot}/sbin
ln -s %{_sbindir}/fsfreeze %{buildroot}/sbin
ln -s %{_sbindir}/swaplabel %{buildroot}/sbin
ln -s %{_sbindir}/fstrim %{buildroot}/sbin
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
%endif %endif
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 25 15:02:00 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- login.pamd: use pam_motd to unify motd handling [bsc#1185897].
Else motd snippets of e.g. cockpit will not be shown.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com> Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -653,41 +653,15 @@ install -m 644 runuser.default %{buildroot}%{_distconfdir}/default/runuser
rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a
%if %build_util_linux %if %build_util_linux
%if !0%{?usrmerged} %if !0%{?usrmerged}
ln -s %{_bindir}/kill %{buildroot}/bin for i in kill su dmesg more mount umount; do
ln -s %{_bindir}/su %{buildroot}/bin ln -s "%{_bindir}/$i" "%{buildroot}/bin/"
ln -s %{_bindir}/dmesg %{buildroot}/bin done
ln -s %{_bindir}/more %{buildroot}/bin for i in agetty blockdev cfdisk ctrlaltdel fdisk fsck.minix fsck.cramfs \
ln -s %{_bindir}/mount %{buildroot}/bin hwclock losetup mkfs mkfs.bfs mkfs.minix mkfs.cramfs mkswap nologin \
ln -s %{_bindir}/umount %{buildroot}/bin pivot_root raw sfdisk swapoff swapon blkid findfs fsck switch_root \
ln -s %{_sbindir}/agetty %{buildroot}/sbin wipefs fsfreeze swaplabel fstrim chcpu; do
ln -s %{_sbindir}/blockdev %{buildroot}/sbin ln -s "%{_sbindir}/$i" "%{buildroot}/sbin/"
ln -s %{_sbindir}/cfdisk %{buildroot}/sbin done
ln -s %{_sbindir}/ctrlaltdel %{buildroot}/sbin
ln -s %{_sbindir}/fdisk %{buildroot}/sbin
ln -s %{_sbindir}/fsck.minix %{buildroot}/sbin
ln -s %{_sbindir}/fsck.cramfs %{buildroot}/sbin
ln -s %{_sbindir}/hwclock %{buildroot}/sbin
ln -s %{_sbindir}/losetup %{buildroot}/sbin
ln -s %{_sbindir}/mkfs %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.bfs %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.minix %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.cramfs %{buildroot}/sbin
ln -s %{_sbindir}/mkswap %{buildroot}/sbin
ln -s %{_sbindir}/nologin %{buildroot}/sbin
ln -s %{_sbindir}/pivot_root %{buildroot}/sbin
ln -s %{_sbindir}/raw %{buildroot}/sbin
ln -s %{_sbindir}/sfdisk %{buildroot}/sbin
ln -s %{_sbindir}/swapoff %{buildroot}/sbin
ln -s %{_sbindir}/swapon %{buildroot}/sbin
ln -s %{_sbindir}/blkid %{buildroot}/sbin
ln -s %{_sbindir}/findfs %{buildroot}/sbin
ln -s %{_sbindir}/fsck %{buildroot}/sbin
ln -s %{_sbindir}/switch_root %{buildroot}/sbin
ln -s %{_sbindir}/wipefs %{buildroot}/sbin
ln -s %{_sbindir}/fsfreeze %{buildroot}/sbin
ln -s %{_sbindir}/swaplabel %{buildroot}/sbin
ln -s %{_sbindir}/fstrim %{buildroot}/sbin
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
%endif %endif
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb

View File

@ -653,41 +653,15 @@ install -m 644 runuser.default %{buildroot}%{_distconfdir}/default/runuser
rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a rm -f %{buildroot}%{python3_sitearch}/libmount/*.*a
%if %build_util_linux %if %build_util_linux
%if !0%{?usrmerged} %if !0%{?usrmerged}
ln -s %{_bindir}/kill %{buildroot}/bin for i in kill su dmesg more mount umount; do
ln -s %{_bindir}/su %{buildroot}/bin ln -s "%{_bindir}/$i" "%{buildroot}/bin/"
ln -s %{_bindir}/dmesg %{buildroot}/bin done
ln -s %{_bindir}/more %{buildroot}/bin for i in agetty blockdev cfdisk ctrlaltdel fdisk fsck.minix fsck.cramfs \
ln -s %{_bindir}/mount %{buildroot}/bin hwclock losetup mkfs mkfs.bfs mkfs.minix mkfs.cramfs mkswap nologin \
ln -s %{_bindir}/umount %{buildroot}/bin pivot_root raw sfdisk swapoff swapon blkid findfs fsck switch_root \
ln -s %{_sbindir}/agetty %{buildroot}/sbin wipefs fsfreeze swaplabel fstrim chcpu; do
ln -s %{_sbindir}/blockdev %{buildroot}/sbin ln -s "%{_sbindir}/$i" "%{buildroot}/sbin/"
ln -s %{_sbindir}/cfdisk %{buildroot}/sbin done
ln -s %{_sbindir}/ctrlaltdel %{buildroot}/sbin
ln -s %{_sbindir}/fdisk %{buildroot}/sbin
ln -s %{_sbindir}/fsck.minix %{buildroot}/sbin
ln -s %{_sbindir}/fsck.cramfs %{buildroot}/sbin
ln -s %{_sbindir}/hwclock %{buildroot}/sbin
ln -s %{_sbindir}/losetup %{buildroot}/sbin
ln -s %{_sbindir}/mkfs %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.bfs %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.minix %{buildroot}/sbin
ln -s %{_sbindir}/mkfs.cramfs %{buildroot}/sbin
ln -s %{_sbindir}/mkswap %{buildroot}/sbin
ln -s %{_sbindir}/nologin %{buildroot}/sbin
ln -s %{_sbindir}/pivot_root %{buildroot}/sbin
ln -s %{_sbindir}/raw %{buildroot}/sbin
ln -s %{_sbindir}/sfdisk %{buildroot}/sbin
ln -s %{_sbindir}/swapoff %{buildroot}/sbin
ln -s %{_sbindir}/swapon %{buildroot}/sbin
ln -s %{_sbindir}/blkid %{buildroot}/sbin
ln -s %{_sbindir}/findfs %{buildroot}/sbin
ln -s %{_sbindir}/fsck %{buildroot}/sbin
ln -s %{_sbindir}/switch_root %{buildroot}/sbin
ln -s %{_sbindir}/wipefs %{buildroot}/sbin
ln -s %{_sbindir}/fsfreeze %{buildroot}/sbin
ln -s %{_sbindir}/swaplabel %{buildroot}/sbin
ln -s %{_sbindir}/fstrim %{buildroot}/sbin
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
%endif %endif
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb