STABLE14-kdump-install-fixups-20080427

LICENSE IPL10
FIXES 96465

The install rule:
- installs the empty 'kdump-build' file instead of the binary on all
platforms except irix
- overwrites the selection script with the binary on linux and hpux
- doesn't have an alpha_linux branch
- installs the wrapper script as kdump32 and the binary as kdump on
solaris (instead of vice-versa)

The dest rule:
- overwrites the selection script with the binary on alpha_linux and hpux


(cherry picked from commit 7a6751c08800da5d49bf3def9175174499f6337e)
This commit is contained in:
Chaskiel M Grundman 2008-04-28 04:45:27 +00:00 committed by Derrick Brashear
parent e780d2b2fb
commit e44d698cfe

View File

@ -283,13 +283,13 @@ ${DEST}/etc/kdump: kdump-build
${INSTALL} -f ${srcdir}/kdump ${DEST}/etc/kdump32;; \ ${INSTALL} -f ${srcdir}/kdump ${DEST}/etc/kdump32;; \
*alpha_linux* ) \ *alpha_linux* ) \
${INSTALLex} -f ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \ ${INSTALLex} -f ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \
${INSTALL} kdump-alpha_linux-${LINUX_VERSION} $@ ;; \ ${INSTALL} kdump-alpha_linux-${LINUX_VERSION} $@-${LINUX_VERSION} ;; \
*linux* ) \ *linux* ) \
${INSTALLex} -f ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \ ${INSTALLex} -f ${srcdir}/kdump.sh.linux ${DEST}/etc/kdump; \
${INSTALL} kdump-linux-${LINUX_VERSION} $@-${LINUX_VERSION} ;; \ ${INSTALL} kdump-linux-${LINUX_VERSION} $@-${LINUX_VERSION} ;; \
hp_ux11* ) \ hp_ux11* ) \
${INSTALLex} -f ${srcdir}/kdump.sh.hp_ux11 ${DEST}/etc/kdump; \ ${INSTALLex} -f ${srcdir}/kdump.sh.hp_ux11 ${DEST}/etc/kdump; \
${INSTALL} -f $? $@;; \ ${INSTALL} -f $? ${DEST}/etc/kdump32;; \
*bsd*) \ *bsd*) \
;; \ ;; \
*) \ *) \
@ -357,16 +357,19 @@ ${DESTDIR}${sbindir}/kdump: kdump-build
do ${INSTALL} $$f ${DESTDIR}${sbindir}/$$f || exit $$? ; \ do ${INSTALL} $$f ${DESTDIR}${sbindir}/$$f || exit $$? ; \
done ;; \ done ;; \
sun*_5[789] | sun*_510 ) \ sun*_5[789] | sun*_510 ) \
${INSTALLex} -f kdump.sh.solaris7 ${DESTDIR}${sbindir}/kdump32; \ ${INSTALLex} -f kdump.sh.solaris7 ${DESTDIR}${sbindir}/kdump; \
${INSTALL} -f $? $@;; \ ${INSTALL} -f kdump ${DESTDIR}${sbindir}/kdump32;; \
*alpha_linux* ) \
${INSTALLex} -f kdump.sh.linux ${DESTDIR}${sbindir}/kdump; \
${INSTALL} kdump-alpha_linux-${LINUX_VERSION} $@-${LINUX_VERSION} ;; \
*linux* ) \ *linux* ) \
${INSTALLex} -f kdump.sh.linux ${DESTDIR}${sbindir}/kdump; \ ${INSTALLex} -f kdump.sh.linux ${DESTDIR}${sbindir}/kdump; \
${INSTALL} $? $@ ;; \ ${INSTALL} kdump-linux-${LINUX_VERSION} $@-${LINUX_VERSION} ;; \
hp_ux11* ) \ hp_ux11* ) \
${INSTALLex} -f kdump.sh.hp_ux11 ${DESTDIR}${sbindir}/kdump; \ ${INSTALLex} -f kdump.sh.hp_ux11 ${DESTDIR}${sbindir}/kdump; \
${INSTALL} -f $? $@;; \ ${INSTALL} -f kdump ${DESTDIR}${sbindir}/kdump32;; \
*) \ *) \
${INSTALL} $? $@ ;; \ ${INSTALL} kdump $@ ;; \
esac esac
${DESTDIR}${sbindir}/kdump64: kdump-build ${DESTDIR}${sbindir}/kdump64: kdump-build