[scripts] copy isolinux back.jpg from live system to cdroot if available
This commit is contained in:
parent
5a951175bb
commit
79121ce68a
@ -55,3 +55,8 @@ if os.path.isfile(sabayon_pkgs_file):
|
|||||||
iso_path = os.getenv("ISO_PATH")
|
iso_path = os.getenv("ISO_PATH")
|
||||||
if iso_path:
|
if iso_path:
|
||||||
shutil.copy2(sabayon_pkgs_file, iso_path+".pkglist")
|
shutil.copy2(sabayon_pkgs_file, iso_path+".pkglist")
|
||||||
|
|
||||||
|
# copy back.jpg to proper location
|
||||||
|
isolinux_img = os.path.join(chroot_dir, "usr/share/backgrounds/isolinux/back.jpg")
|
||||||
|
if os.path.isfile(isolinux_img):
|
||||||
|
shutil.copy2(isolinux_img, os.path.join(cdroot_dir, "isolinux/back.jpg"))
|
||||||
|
@ -41,3 +41,9 @@ if [ -f "${sabayon_pkgs_file}" ]; then
|
|||||||
cp "${sabayon_pkgs_file}" "${ISO_PATH}".pkglist
|
cp "${sabayon_pkgs_file}" "${ISO_PATH}".pkglist
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# copy back.jpg to proper location
|
||||||
|
isolinux_img="${CHROOT_DIR}/usr/share/backgrounds/isolinux/back.jpg"
|
||||||
|
if [ -f "${isolinux_img}" ]; then
|
||||||
|
cp "${isolinux_img}" "${CDROOT_DIR}/isolinux/" || exit 1
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user