add use the linux32/64 uname wrapper

This commit is contained in:
Mario Fetka 2017-11-11 19:43:11 +01:00
parent 032c5d9b01
commit 3da0f823de
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/arcconf:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
exec /usr/lib/arcconf/arcconf $@
exec /usr/bin/linux32 --uname-2.6 /usr/lib/arcconf/arcconf $@

4
debian/arcconf.wrapper64 vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/arcconf:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
exec /usr/bin/linux64 --uname-2.6 /usr/lib/arcconf/arcconf $@

4
debian/rules vendored
View File

@ -14,7 +14,7 @@ install:
dh_clean -k
dh_installdirs
ifeq ($(DEB_BUILD_ARCH),amd64)
install -D -m 0755 debian/arcconf.wrapper \
install -D -m 0755 debian/arcconf.wrapper64 \
debian/arcconf/usr/sbin/arcconf
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/centos5/libstdc++.so.6.0.8
install -D -m 0755 amd64/centos5/libstdc++.so.6.0.8 \
@ -61,7 +61,7 @@ ifeq ($(DEB_BUILD_ARCH),amd64)
debian/arcconf/usr/lib/arcconf/arcconf-7.31
endif
ifeq ($(DEB_BUILD_ARCH),i386)
install -D -m 0755 debian/arcconf.wrapper \
install -D -m 0755 debian/arcconf.wrapper32 \
debian/arcconf/usr/sbin/arcconf
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/centos5/libstdc++.so.6.0.8
install -D -m 0755 i386/centos5/libstdc++.so.6.0.8 \