mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 11:12:04 +00:00
modify directory to copy bmcsetup/getipmi scripts (#4649)
This commit is contained in:
parent
515c059333
commit
179b1cdf6c
@ -250,7 +250,7 @@ then
|
||||
# shipping bmcsetup and getipmi scripts as part of postscripts
|
||||
files=("bmcsetup" "getipmi")
|
||||
for f in "${files[@]}"; do
|
||||
cp ${CURDIR}/../xCAT-genesis-scripts/bin/$f ${CURDIR}/postscripts/$f
|
||||
cp ${CURDIR}/../xCAT-genesis-scripts/usr/bin/$f ${CURDIR}/postscripts/$f
|
||||
sed -i "s/xcat.genesis.$f/$f/g" ${CURDIR}/postscripts/$f
|
||||
done
|
||||
fi
|
||||
|
2
makerpm
2
makerpm
@ -126,7 +126,7 @@ function makexcat {
|
||||
# shipping bmcsetup and getipmi scripts as part of postscripts
|
||||
files=("bmcsetup" "getipmi")
|
||||
for f in "${files[@]}"; do
|
||||
cp "xCAT-genesis-scripts/bin/"$f ${RPMNAME}/postscripts/$f
|
||||
cp "xCAT-genesis-scripts/usr/bin/"$f ${RPMNAME}/postscripts/$f
|
||||
sed -i "s/xcat.genesis.$f/$f/g" ${RPMNAME}/postscripts/$f
|
||||
done
|
||||
cd `dirname $0`/$RPMNAME
|
||||
|
@ -33,8 +33,7 @@ install:
|
||||
dh_installdirs $(installdir)
|
||||
dh_install -X".svn"
|
||||
dh_install ./etc/ $(installtodir)
|
||||
dh_install ./usr/bin/ $(installtodir)
|
||||
dh_install ./usr/sbin/ $(installtodir)
|
||||
dh_install ./usr/ $(installtodir)
|
||||
dh_compress
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
|
Loading…
x
Reference in New Issue
Block a user