forked from ports/contrib
kexec: do not create a static binary, go dynamic instead
This commit is contained in:
parent
62c64111e3
commit
7cd1d74538
@ -1,6 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/kexec.static
|
||||
-rwxr-xr-x root/root usr/sbin/kexec
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38sbhH8BXPuSxnuRR08Uh5rLxl6Ht58EhCM2AhjiMvjtQEtCYrLCoFgf4aspwk2LnBCFhcDSEpz7gnBEsFZ8Xw0=
|
||||
SHA256 (Pkgfile) = c15596e6995a434c9fd3feb86a9d644f9d3ca0a6e5cf1de7f5d96b0191d2ee58
|
||||
SHA256 (.footprint) = b63f987e520d430ebe3fc026363382f6b37976e082f38327afe66f665612e891
|
||||
RWSagIOpLGJF36EmoEC0QwoLfYY8aHRUdMBujfctSFusaYVWhCytm3KmW0mzr0fK+6zEtXVS8383lBSFc20DowtAwc5TES9piQ8=
|
||||
SHA256 (Pkgfile) = b5f16c4b30cb59c349f58beb035935b6f6a1ff8eddb72c70682c6a9ef0f4cb98
|
||||
SHA256 (.footprint) = 750b5d6fc78dd4f4c32345f7218c108ab836a2e6b7ff3e2e1d4024a87e98e754
|
||||
SHA256 (kexec-tools-2.0.22.tar.gz) = af618de7848142f204b57811f703de3ae7aa3f5bc5d52226db35800fa8fc4dff
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=kexec
|
||||
version=2.0.22
|
||||
release=1
|
||||
release=2
|
||||
source=(https://git.kernel.org/pub/scm/utils/kernel/${name}/\
|
||||
${name}-tools.git/snapshot/${name}-tools-${version}.tar.gz
|
||||
)
|
||||
@ -14,11 +14,12 @@ build() {
|
||||
cd ${name}-tools-${version}
|
||||
|
||||
./bootstrap
|
||||
LDFLAGS="-static ${LDFLAGS}" ./configure --prefix=/usr --without-lzma
|
||||
#LDFLAGS="-static ${LDFLAGS}"
|
||||
./configure --prefix=/usr --without-lzma
|
||||
make
|
||||
make DESTDIR="${PKG}" install
|
||||
|
||||
mv "${PKG}"/usr/sbin/kexec "${PKG}"/usr/sbin/kexec.static
|
||||
#mv "${PKG}"/usr/sbin/kexec "${PKG}"/usr/sbin/kexec.static
|
||||
rm -rf \
|
||||
"${PKG}"/usr/lib \
|
||||
"${PKG}"/usr/sbin/vmcore-dmesg \
|
||||
|
Loading…
x
Reference in New Issue
Block a user