Commit c8c75e81b551 ("relocate /pxeboot to /var/pxeboot", 2021-12-15)
inadvertently introduced a few bugs to patch-iso that prevent successful
execution of this script when a patch with pxe-network-installer is
attempted to be used. This is necessary, for example, to be able to
patch kernel and initial RAM file system images in an ISO image.
Here is an example for the error messages:
+ cp --preserve=all pxeboot/pxelinux.0 pxeboot/menu.c32 \ pxeboot/chain.c32 .../patchiso_build_XXXXXX/var/pxeboot/
cp: target '.../patchiso_build_XXXXXX/var/pxeboot/' \
is not a directory
This commit fixes the paths used by patch-iso so that such errors are
not encountered.
Verification:
- patch-iso is successfully executed against a patch file that includes
a newer pxe-network-installer package.
Closes-Bug: 1968566
Change-Id: I4606d062b45ed03b64f514131d3d6e27434e7675
Signed-off-by: M. Vefa Bicakci <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /root/+ /836397 /opendev. org/starlingx/ root/commit/ 1a9872ca9d32b1a f0517fd85a282c1 6efa37189e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1a9872ca9d32b1a f0517fd85a282c1 6efa37189e
Author: M. Vefa Bicakci <email address hidden>
Date: Mon Apr 4 15:29:50 2022 -0400
patch-iso: Fix up paths
Commit c8c75e81b551 ("relocate /pxeboot to /var/pxeboot", 2021-12-15) installer is
inadvertently introduced a few bugs to patch-iso that prevent successful
execution of this script when a patch with pxe-network-
attempted to be used. This is necessary, for example, to be able to
patch kernel and initial RAM file system images in an ISO image.
Here is an example for the error messages:
+ cp --preserve=all pxeboot/pxelinux.0 pxeboot/menu.c32 \
pxeboot/ chain.c32 .../patchiso_ build_XXXXXX/ var/pxeboot/ build_XXXXXX/ var/pxeboot/ ' \
cp: target '.../patchiso_
is not a directory
This commit fixes the paths used by patch-iso so that such errors are
not encountered.
Verification: installer package.
- patch-iso is successfully executed against a patch file that includes
a newer pxe-network-
Closes-Bug: 1968566
Change-Id: I4606d062b45ed0 3b64f514131d3d6 e27434e7675
Signed-off-by: M. Vefa Bicakci <email address hidden>