Skip to content
Snippets Groups Projects
user avatar
Christopher Spinrath authored
Some targets require the image partition to be mounted.
Although, it is easy to detect this (and mount the partition)
by depending on the phony target image_mount_if, make is unable
to calculate the dependencies correctly. The reason is that some
dependencies are located on the partition (which is not mounted
when scanning for dependencies). Hence, make will rebuild all
targets (after it mounted the partition) regardless of the state
of these files.

To solve this issue we introduce ensure_mount and call it on phony
targets invoked by the user. The actual target will be converted and
serve as wrapper which mounts the partition and then invokes the actual
target renamed to <name>__ignore_mount.
25d7cf35
History
This is lipck - the "linux install party customization kit".

This package of scripts is intended for remastering Ubuntu based 
distributions.
This collection of scripts was created by members of the
Open-Source working group of the Fachschaft 1/1 Mathematik, Physik,
Informatik of the RWTH Aachen University for remastering images for their
Linux Install Parties.
Existing solutions such as UCK could not do some things we wanted to do like 
updating the initramfs kernel, saving space by deduplicating files between
multiple architectures (e.g. x86,x64). We release this collection of scripts
in hope that they will be useful for someone else as well.

This project is licensed under the terms of the GPLv3 license which you can
find in the COPYING file.