From a02450d048d0a858aceda2343ef4d7633eca6ebb Mon Sep 17 00:00:00 2001 From: Jordan Sissel Date: Fri, 10 Jan 2014 12:08:28 -0800 Subject: [PATCH] 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 (github: jordansissel) --- hack/make/ubuntu | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hack/make/ubuntu b/hack/make/ubuntu index 6e130659d5..e52a592a71 100644 --- a/hack/make/ubuntu +++ b/hack/make/ubuntu @@ -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 ) }