Projects
OpenHPC:2.1:Factory
warewulf-provision
_service:extract_file:warewulf-provision.ppc64l...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:extract_file:warewulf-provision.ppc64le.patch of Package warewulf-provision
--- a/configure.ac 2019-06-17 14:01:40.000000000 -0700 +++ b/configure.ac 2019-06-25 14:34:32.954864162 -0700 @@ -202,6 +202,7 @@ [x86_64], [ build_x86_64=yes + LOADER=ld-linux AS_IF([test "x$enable_cross_compile" = "xyes"], [ AC_MSG_NOTICE([cross-compile for aarch64 configured]) CROSS_COMPILE_ARM64="aarch64-linux-gnu-" @@ -211,16 +212,22 @@ [aarch64], [ build_arm64=yes + LOADER=ld-linux AS_IF([test "x$enable_cross_compile" = "xyes"], [ AC_MSG_NOTICE([cross-compile for x86_64 configured]) CROSS_COMPILE_X86_64="x86_64-linux-gnu-" build_x86_64=yes ]) + ], + [ppc64le], + [ + LOADER=ld64 ] ) AC_SUBST(CROSS_COMPILE_X86_64) AC_SUBST(CROSS_COMPILE_ARM64) +AC_SUBST(LOADER) AM_CONDITIONAL(BUILD_X86_64, [test "x$build_x86_64" = "xyes"]) AM_CONDITIONAL(BUILD_ARM64, [test "x$build_arm64" = "xyes"]) --- a/initramfs/Makefile.am 2019-06-17 14:01:40.000000000 -0700 +++ b/initramfs/Makefile.am 2019-06-25 14:34:32.954864162 -0700 @@ -84,6 +84,12 @@ fi ;\ if [ ! -f "_work/$(LIBARCHIVE_DIR)/" ]; then \ echo "Building libarchive" ;\ + if [ -f "/usr/lib/rpm/config.guess" ]; then \ + cp /usr/lib/rpm/config.guess _work/$(LIBARCHIVE_DIR)/config;\ + fi; \ + if [ -f "/usr/lib/rpm/config.sub" ]; then \ + cp /usr/lib/rpm/config.sub _work/$(LIBARCHIVE_DIR)/config;\ + fi; \ (cd _work/$(LIBARCHIVE_DIR)/; ./configure $(LIBARCHIVE_CONFIGARGS)) ;\ $(MAKE) -C _work/$(LIBARCHIVE_DIR);\ fi ;\ @@ -150,8 +156,8 @@ else \ $(MAKE) -C _work/$(PARTED_DIR)/ DESTDIR=`pwd`/rootfs install; \ fi - cp -L --parents /lib*/ld-linux* rootfs/ - find rootfs -type f -perm -o+x -print | grep -v ld-linux | xargs ldd | grep "=>" | awk '{print $$3}' | grep "^/" | sort | uniq | while read i; do cp -L --parents $$i rootfs/ && chmod 755 rootfs/$$i; done + cp -L --parents /lib*/$(LOADER)* rootfs/ + find rootfs -type f -perm -o+x -print | grep -v $(LOADER) | xargs ldd | grep "=>" | awk '{print $$3}' | grep "^/" | sort | uniq | while read i; do cp -L --parents $$i rootfs/ && chmod 755 rootfs/$$i; done rm -f rootfs/linuxrc rootfs/lib64/*.la rootfs/lib/*.la rootfs/usr/lib64/*.la rootfs/usr/lib/*.la rm -rf rootfs/usr/share rootfs/usr/include rootfs/usr/lib/pkgconfig find -type d \! -perm -u=w -exec chmod u+w {} \;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.