Lines Matching refs:mount
88 mount=$(mktemp -d)
90 rmdir "${mount}"
127 mount \${1}\${partition}2 /media
159 sudo mount -o loop,offset=${efi_partition_offset} "${input}" "${mount}"
161 sudo umount "${mount}"
164 grub_blob=$(cd "${mount}" && echo EFI/Boot/*)
179 sudo umount "${mount}"
188 sudo mount -o loop,offset=${root_partition_offset} "${input}" "${mount}"
190 sudo rm -f "${mount}"/root/esp.img "${mount}"/root/gpt.img
191 sudo rm -f "${mount}"/root/rootfs.tar.xz
192 sudo rm -f "${mount}"/root/rootfs_uuid
193 sudo rm -f "${mount}"/boot/grub/eltorito.img
194 sudo rm -f "${mount}"/boot/grub/${grub_arch}/grub.cfg
195 sudo rm -rf "${mount}"/tmp/*
196 sudo rm -rf "${mount}"/var/tmp/*
197 ( cd "${mount}" && sudo tar -SJcpf "${workdir}"/rootfs.tar.xz * )
201 cp "${mount}/usr/lib/grub/${grub_arch}/monolithic/${grub_cd}" \
210 sudo cp "${workdir}"/esp.img "${workdir}"/gpt.img "${mount}"/root
211 sudo cp "${workdir}"/rootfs.tar.xz "${workdir}"/install.sh "${mount}"/root
212 echo -n "${rootfs_uuid}" | sudo tee "${mount}"/root/rootfs_uuid >/dev/null
213 sudo cp "${workdir}"/eltorito.img "${mount}"/boot/grub
214 sudo cp "${workdir}"/grub.cfg "${mount}"/boot/grub/${grub_arch}/grub.cfg
215 sudo mkdir -p "${mount}"/etc/systemd/system/getty@tty1.service.d
216 sudo cp "${workdir}"/override-getty.conf "${mount}"/etc/systemd/system/getty@tty1.service.d/overrid…
217 sudo mkdir -p "${mount}"/etc/systemd/system/serial-getty@ttyAMA0.service.d
218 sudo cp "${workdir}"/override-serial-getty.conf "${mount}"/etc/systemd/system/serial-getty@ttyAMA0.…
220 "${mount}"/root/esp.img "${mount}"/root/gpt.img \
221 "${mount}"/boot/grub/eltorito.img \
222 "${mount}"/boot/grub/${grub_arch}/grub.cfg
223 sudo mv "${mount}"/usr "${mount}"/usr_o
224 sudo mkzftree "${mount}"/usr_o "${mount}"/usr
225 sudo rm -rf "${mount}"/usr_o
226 sudo mv "${mount}"/root "${mount}"/root_o
227 sudo mkzftree "${mount}"/root_o "${mount}"/root
228 sudo rm -rf "${mount}"/root_o
229 sudo mv "${mount}"/var "${mount}"/var_o
230 sudo mkzftree "${mount}"/var_o "${mount}"/var
231 sudo rm -rf "${mount}"/var_o
235 -as mkisofs -r -checksum_algorithm_iso sha256,sha512 -V install "${mount}" \