relocate /www to /var/www
Relocate writable /www to /var/www Story: 2009101 Task: 44049 Depends-on: https://review.opendev.org/c/starlingx/metal/+/810023 Change-Id: Ibec30839302a44c539296ab179d2619458462310 Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
parent
3cec32622c
commit
e3dbcaf494
@ -553,7 +553,7 @@ function extract_installer_files {
|
||||
extract_pkg_from_local_repo platform-kickstarts-pxeboot ${MY_YUM_CONF} ${STD_REPO_ID} ${LOWER_LAYER_STD_REPO_ID}
|
||||
extract_pkg_from_local_repo platform-kickstarts-extracfgs ${MY_YUM_CONF} ${STD_REPO_ID} ${LOWER_LAYER_STD_REPO_ID}
|
||||
|
||||
\cp --preserve=all www/pages/feed/rel-*/*.cfg pxeboot/*.cfg ../kickstarts/ &&
|
||||
\cp --preserve=all var/www/pages/feed/rel-*/*.cfg pxeboot/*.cfg ../kickstarts/ &&
|
||||
\cp --preserve=all extra_cfgs/*.cfg ../extra_cfgs/
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to copy extracted kickstarts"
|
||||
@ -621,7 +621,7 @@ EOM
|
||||
exit 1
|
||||
fi
|
||||
|
||||
\cp --preserve=all www/pages/feed/rel-*/LiveOS/squashfs.img $OUTPUT_DIST_DIR/isolinux/LiveOS
|
||||
\cp --preserve=all var/www/pages/feed/rel-*/LiveOS/squashfs.img $OUTPUT_DIST_DIR/isolinux/LiveOS
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Could not copy squashfs from LiveOS"
|
||||
exit 1
|
||||
|
@ -258,7 +258,7 @@ extract_pkg_from_patch_repo platform-kickstarts
|
||||
if [ $? -eq 0 ]; then
|
||||
# Replace files
|
||||
\rm -f ${BUILDDIR}/*ks.cfg &&
|
||||
\cp --preserve=all www/pages/feed/rel-*/*.cfg ${BUILDDIR}/ &&
|
||||
\cp --preserve=all var/www/pages/feed/rel-*/*.cfg ${BUILDDIR}/ &&
|
||||
\cp --preserve=all ${BUILDDIR}/controller_ks.cfg ${BUILDDIR}/ks.cfg
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Failed to copy extracted kickstarts"
|
||||
@ -300,7 +300,7 @@ if [ $? -eq 0 ]; then
|
||||
fi
|
||||
|
||||
\rm -f ${BUILDDIR}/LiveOS/squashfs.img &&
|
||||
\cp --preserve=all www/pages/feed/rel-*/LiveOS/squashfs.img ${BUILDDIR}/LiveOS/
|
||||
\cp --preserve=all var/www/pages/feed/rel-*/LiveOS/squashfs.img ${BUILDDIR}/LiveOS/
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Could not copy squashfs from LiveOS"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user