mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use '-s empty' instead of '-s dir'
This *should* have the same effect as the previous strategy: Instead of 'mkdir empty; fpm -s dir -C empty ...' we can simply do 'fpm -s empty' Docker-DCO-1.1-Signed-off-by: Jordan Sissel <jls@semicomplete.com> (github: jordansissel)
This commit is contained in:
parent
b61570b521
commit
a02450d048
1 changed files with 2 additions and 3 deletions
|
@ -125,8 +125,7 @@ EOF
|
|||
--config-files /etc/default/docker \
|
||||
--deb-compression gz \
|
||||
-t deb .
|
||||
mkdir empty
|
||||
fpm -s dir -C empty \
|
||||
fpm -s empty \
|
||||
--name lxc-docker --version $PKGVERSION \
|
||||
--architecture "$PACKAGE_ARCHITECTURE" \
|
||||
--depends lxc-docker-$VERSION \
|
||||
|
@ -135,7 +134,7 @@ EOF
|
|||
--url "$PACKAGE_URL" \
|
||||
--license "$PACKAGE_LICENSE" \
|
||||
--deb-compression gz \
|
||||
-t deb .
|
||||
-t deb
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue