diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-07-26 14:47:34 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-08-01 09:24:26 +0200 |
commit | 4afd352c3663332a7b0e174766706a9b700bc156 (patch) | |
tree | dd990dccde6925f9e703838d73020173ed465936 /bin/ptxdist | |
parent | 3993c5ae5d40d6f1d88ba3bf6c070256aaa39766 (diff) | |
download | ptxdist-4afd352c3663332a7b0e174766706a9b700bc156.tar.gz ptxdist-4afd352c3663332a7b0e174766706a9b700bc156.tar.xz |
ptxdist: implement image specific nfsroot
For the simple use-case (the rootfs contains all packages) the normal
nfsroot works well. However, this is not useful to work with root
filesystems that contain only a subset of all packages.
With this change, if <IMAGE>_NFSROOT can be set to 'YES' then
<platformdir>/nfsroot/<image> will be filled with the files from only the
packages that are part of this image.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-x | bin/ptxdist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 152aa84ea..862efe49c 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1057,6 +1057,7 @@ clean() { echo "${PTXDIST_LOG_PROMPT}cleaning root directory..." rm -fr -- "${ROOTDIR}" rm -fr -- "${PTXDIST_PLATFORMDIR}/root-debug" + rm -fr -- "${PTXDIST_PLATFORMDIR}/nfsroot" echo "${PTXDIST_LOG_PROMPT}cleaning packages..." rm -fr -- "${PKGDIR}"/*.ipk echo "${PTXDIST_LOG_PROMPT}cleaning targetinstall stages..." @@ -1153,6 +1154,7 @@ clean() { echo "${PTXDIST_LOG_PROMPT}removing root..." rm -fr -- "${ROOTDIR}" rm -fr -- "${PTXDIST_PLATFORMDIR}/root-debug" + rm -fr -- "${PTXDIST_PLATFORMDIR}/nfsroot" echo "${PTXDIST_LOG_PROMPT}removing state..." rm -fr -- "${STATEDIR}" echo "${PTXDIST_LOG_PROMPT}removing logfile..." |