add use the linux32/64 uname wrapper
This commit is contained in:
parent
032c5d9b01
commit
3da0f823de
@ -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
4
debian/arcconf.wrapper64
vendored
Normal 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
4
debian/rules
vendored
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user