cookbook/container: remove unexplained "exec >&2" lines.
These are often a good idea, but not necessary here and are distracting to the tutorial, so let's just take them out. Reported-by: Jeff Stearns <jeff.stearns@gmail.com>
This commit is contained in:
parent
1eeb1fb909
commit
537866b871
7 changed files with 7 additions and 14 deletions
|
|
@ -1,9 +1,9 @@
|
|||
exec >&2
|
||||
fs=${1%.fs}
|
||||
rm -rf "$fs" "$fs.fakeroot"
|
||||
|
||||
redo-ifchange debootstrap.fs
|
||||
fakeroot -i debootstrap.fakeroot -s "$fs.fakeroot" cp -a debootstrap/. "$fs"
|
||||
fakeroot -i debootstrap.fakeroot -s "$fs.fakeroot" \
|
||||
cp -a debootstrap/. "$fs" >&2
|
||||
|
||||
# Work around bug (in fakechroot?) where /lib64 symlink ends up pointing
|
||||
# at an absolute path including $PWD, rather than inside the chroot.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue