Compare commits

..

No commits in common. "1594cab9f4b0ac50aba96da22c5ecfeb11af50ca" and "c5f32b134c9fd44b86850665a30ed2372fcd167c" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ function create_new_image {
LOOPBACK_02=$(losetup -f -P --show "${NEW_IMAGE_NAME}") LOOPBACK_02=$(losetup -f -P --show "${NEW_IMAGE_NAME}")
# 1 MiB = 2048 * (1 block/sector (512 bytes)) # 1 MiB = 2048 * (1 block/sector (512 bytes))
UEFI_SECTORS="$(( $(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p1" | awk '{print $4}') + 2048 ))" UEFI_SECTORS="$(( $(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p1" | awk '{print $4}') + 2048 ))"
BOOT_SECTORS="$(( $(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p2" | awk '{print $4}') + 4096 ))" BOOT_SECTORS="$(( $(fdisk -l "${LOOPBACK_01}" | grep "${LOOPBACK_01}p2" | awk '{print $4}') + 2048 ))"
cat << EOF | fdisk "${LOOPBACK_02}" cat << EOF | fdisk "${LOOPBACK_02}"
g g

View File

@ -39,7 +39,7 @@ git --git-dir="${HOME}/.dotfiles" --work-tree="${HOME}" checkout -f
rm -rf "${HOME}/.config/nvim" rm -rf "${HOME}/.config/nvim"
EOF EOF
chmod +x get-dotfiles.sh chmod +x get-dotfiles.sh
sudo -i -u "${USER_NAME}" bash "$PWD/get-dotfiles.sh" sudo -i -u "${USER_NAME}" bash get-dotfiles.sh
rm -vf get-dotfiles.sh rm -vf get-dotfiles.sh
# Lock the root account # Lock the root account