Skip to content
Snippets Groups Projects
Commit ea8c2529 authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

image: introduce mount/umount helper targets

parent 897d8979
Branches
No related tags found
No related merge requests found
...@@ -453,6 +453,12 @@ $(IMAGE_DIR)$(GRUB_INSTALL_DIR)/lipinfo.cfg : | $(WORKSPACE) ...@@ -453,6 +453,12 @@ $(IMAGE_DIR)$(GRUB_INSTALL_DIR)/lipinfo.cfg : | $(WORKSPACE)
echo "set lip_release=\"$(ISO_RELEASE)\"" >> "$@" echo "set lip_release=\"$(ISO_RELEASE)\"" >> "$@"
echo "set lip_extra_info=\"$(IMAGE_EXTRA_INFO)\"" >> "$@" echo "set lip_extra_info=\"$(IMAGE_EXTRA_INFO)\"" >> "$@"
image_mount_if : $(IMAGE_PART_FILE)
findmnt --target "$(IMAGE_DIR)" || mount "$(IMAGE_PART_FILE)" "$(IMAGE_DIR)"
image_umount :
umount -d "$(IMAGE_DIR)"
image : image_content $(GRUB_ASSEMBLE_DIR)/mbr.img image : image_content $(GRUB_ASSEMBLE_DIR)/mbr.img
#The following target is not used by lipck itself. It may be used to create #The following target is not used by lipck itself. It may be used to create
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment