comparison system-image.sh @ 1183:61e7e9be8eb4

Add blank_workdir and make setupfor and cleanup use it. This means you can run an entire build.sh with NO_CLEANUP=1 on.
author Rob Landley <rob@landley.net>
date Fri, 30 Jul 2010 13:54:10 -0500
parents 29c86692f80d
children 6ea4204209d0
comparison
equal deleted inserted replaced
1182:c5ebf1e353c7 1183:61e7e9be8eb4
28 28
29 # Announce start of stage. (Down here after the recursive call above so 29 # Announce start of stage. (Down here after the recursive call above so
30 # it doesn't get announced twice.) 30 # it doesn't get announced twice.)
31 31
32 echo "=== Packaging system image from root-filesystem" 32 echo "=== Packaging system image from root-filesystem"
33
34 mkdir -p "$STAGE_DIR"
35 blank_tempdir "$WORK"
36 33
37 # The initramfs packaging uses the kernels build infrastructure, so extract 34 # The initramfs packaging uses the kernels build infrastructure, so extract
38 # it now. 35 # it now.
39 36
40 setupfor linux 37 setupfor linux