relocate /pxeboot to /var/pxeboot
Adapt filesystem usage to meet OSTree requirements relocating /pxeboot to /var/pxeboot Test Plan: PASS: CentOS -> CentOS upgrade: - 22.06 -> 22.12 Story: 2009303 Task: 45898 Signed-off-by: lbonatti <LuizEduardo.Bonatti@windriver.com> Change-Id: I30a35937cd6da1489e04fd1b0257f0fbe825af96
This commit is contained in:
parent
af907fd960
commit
b2ef1f8c0a
@ -92,9 +92,9 @@ if [ "$(curl -sf http://pxecontroller:6385/v1/upgrade/$(hostname)/upgrade_in_pro
|
||||
|
||||
cp -r $TMP_RPM/usr / \
|
||||
|| report_post_failure_with_msg "Failed to copy pxe-network-installer /usr"
|
||||
cp -r $TMP_RPM/pxeboot/$OTHER_REL_DIR /var/pxeboot/ \
|
||||
cp -r $TMP_RPM/var/pxeboot/$OTHER_REL_DIR /var/pxeboot/ \
|
||||
|| report_post_failure_with_msg "Failed to copy pxe-network-installer /var/pxeboot/$OTHER_REL_DIR"
|
||||
cp $TMP_RPM/pxeboot/pxelinux.cfg.files/*-$OTHER_REL_VERSION /var/pxeboot/pxelinux.cfg.files/ \
|
||||
cp $TMP_RPM/var/pxeboot/pxelinux.cfg.files/*-$OTHER_REL_VERSION /var/pxeboot/pxelinux.cfg.files/ \
|
||||
|| report_post_failure_with_msg "Failed to copy pxe-network-installer pxelinux.cfg files"
|
||||
|
||||
rm -rf $TMP_RPM
|
||||
|
Loading…
Reference in New Issue
Block a user