Skip to content

Commit

Permalink
remove fsroot after build (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan committed Feb 1, 2017
1 parent 5278f1a commit c2b4c87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,6 @@ pushd $FILESYSTEM_ROOT && sudo tar czf $OLDPWD/$FILESYSTEM_DOCKERFS var/lib/dock
## Compress together with /boot and /var/lib/docker as an installer payload zip file
pushd $FILESYSTEM_ROOT && sudo zip $OLDPWD/$ONIE_INSTALLER_PAYLOAD -r boot/; popd
sudo zip -g $ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS $FILESYSTEM_DOCKERFS

## Remove fsroot
sudo rm -rf $FILESYSTEM_ROOT

0 comments on commit c2b4c87

Please sign in to comment.