Accepting request 1235500 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1235500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/filesystem?expand=0&rev=174
This commit is contained in:
Ana Guerrero 2025-01-09 14:05:57 +00:00 committed by Git OBS Bridge
commit a69fbba55b
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 27 12:59:34 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Add /usr/$march directories for HPPA. Will be packaging both
hppa-suse-linux and hppa64-suse-linux because the compiler
suite is usually configured with the latter on this arch.
-------------------------------------------------------------------
Wed Sep 25 19:10:06 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -123,7 +123,7 @@ cat > pre.lua <<'EOF'
needmigrate = false
local dirs = {"/bin",
"/sbin",
%ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64
%ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64 hppa64
"/lib64",
%endif
"/lib" }
@ -201,7 +201,7 @@ cat >> filesystem.links << EOF
usr/bin /bin
usr/sbin /sbin
usr/lib /lib
%ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64
%ifarch s390x %sparc x86_64 %x86_64 ppc64 ppc aarch64 ppc64le riscv64 hppa64
usr/lib64 /lib64
%endif
EOF
@ -233,6 +233,12 @@ powerpc64-suse-linux \
%ifarch ppc64le
powerpc64le-suse-linux \
%else
%ifarch hppa
hppa-suse-linux \
%else
%ifarch hppa64
hppa64-suse-linux \
%else
%ifarch %arm
%{_target_cpu}-suse-linux-gnueabi \
%else
@ -242,6 +248,8 @@ powerpc64le-suse-linux \
%endif
%endif
%endif
%endif
%endif
%endif
; do
create_dir 0755 root root /usr/$march