mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace Copy with Copying
This commit is contained in:
parent
9b67613e28
commit
16efc45db0
4 changed files with 6 additions and 6 deletions
|
@ -22,7 +22,7 @@ _prepare_shim_files () {
|
|||
bsdtar -C "${_SHIM}" -xf "${_SHIM}"/*.rpm
|
||||
bsdtar -C "${_SHIM32}" -xf "${_SHIM32}"/*.rpm
|
||||
bsdtar -C "${_SHIMAA64}" -xf "${_SHIMAA64}"/*.rpm
|
||||
echo "Copy shim files..."
|
||||
echo "Copying shim files..."
|
||||
mkdir -m 777 shim-fedora
|
||||
cp "${_SHIM}"/boot/efi/EFI/fedora/{mmx64.efi,shimx64.efi} shim-fedora/
|
||||
cp "${_SHIM}/boot/efi/EFI/fedora/shimx64.efi" shim-fedora/BOOTX64.efi
|
||||
|
|
|
@ -101,7 +101,7 @@ _x86_64_pacman_use_default() {
|
|||
if [[ -z "${_CUSTOM_PACMAN_CONF}" ]]; then
|
||||
echo "Use system's ${_PACMAN_CONF}..."
|
||||
else
|
||||
echo "Copy ${_CUSTOM_PACMAN_CONF} to ${_PACMAN_CONF}..."
|
||||
echo "Copying ${_CUSTOM_PACMAN_CONF} to ${_PACMAN_CONF}..."
|
||||
cp "${_PACMAN_CONF}" "${_PACMAN_CONF}".old
|
||||
cp "${_CUSTOM_PACMAN_CONF}" "${_PACMAN_CONF}"
|
||||
fi
|
||||
|
@ -109,7 +109,7 @@ _x86_64_pacman_use_default() {
|
|||
if [[ -z "${_CUSTOM_MIRRORLIST}" ]]; then
|
||||
echo "Use system's ${_PACMAN_MIRROR}..."
|
||||
else
|
||||
echo "Copy ${_CUSTOM_MIRRORLIST} to ${_PACMAN_MIRROR}..."
|
||||
echo "Copying ${_CUSTOM_MIRRORLIST} to ${_PACMAN_MIRROR}..."
|
||||
cp "${_PACMAN_MIRROR}" "${_PACMAN_MIRROR}".old
|
||||
cp "${_CUSTOM_MIRRORLIST}" "${_PACMAN_MIRROR}"
|
||||
fi
|
||||
|
|
|
@ -176,7 +176,7 @@ _copy_mirrorlist_and_pacman_conf() {
|
|||
}
|
||||
|
||||
_copy_archboot_defaults() {
|
||||
echo "Copy archboot defaults to container..."
|
||||
echo "Copying archboot defaults to container..."
|
||||
cp /etc/archboot/defaults "${1}"/etc/archboot/defaults
|
||||
}
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ _prepare_uefi_image() {
|
|||
VFAT_IMAGE="${_ISODIR}/efi.img"
|
||||
## Creating efi.img
|
||||
mkfs.vfat --invariant -C "${VFAT_IMAGE}" "${IMGSZ}" >/dev/null
|
||||
## Copy all files to UEFI vfat image
|
||||
## Copying all files to UEFI vfat image
|
||||
mcopy -m -i "${VFAT_IMAGE}" -s "${_ISODIR}"/EFI ::/
|
||||
}
|
||||
|
||||
|
@ -229,7 +229,7 @@ unit: sectors
|
|||
"${VFAT_IMAGE}"1 : start= 2048, type=83, bootable
|
||||
EOF
|
||||
mkfs.vfat --offset=2048 --invariant "${VFAT_IMAGE}" >/dev/null
|
||||
## Copy all files to UEFI vfat image
|
||||
## Copying all files to UEFI vfat image
|
||||
mcopy -m -i "${VFAT_IMAGE}"@@1048576 -s "${_ISODIR}"/boot ::/
|
||||
mv "${VFAT_IMAGE}" "${_IMAGENAME}.img"
|
||||
echo "Remove extlinux config file..."
|
||||
|
|
Loading…
Reference in a new issue