Merge pull request #3662 from tianon/add-udev-to-deb

Add udev rules file to our generated deb package
This commit is contained in:
Tianon Gravi 2014-01-20 19:44:05 -08:00
commit a37ffa4041

View file

@ -24,6 +24,10 @@ PACKAGE_LICENSE="Apache-2.0"
bundle_ubuntu() {
DIR=$DEST/build
# Include our udev rules
mkdir -p $DIR/etc/udev/rules.d
cp contrib/udev/80-docker.rules $DIR/etc/udev/rules.d/
# Include our init scripts
mkdir -p $DIR/etc
cp -R contrib/init/upstart $DIR/etc/init
@ -122,6 +126,7 @@ EOF
--replaces lxc-docker-virtual-package \
--url "$PACKAGE_URL" \
--license "$PACKAGE_LICENSE" \
--config-files /etc/udev/rules.d/80-docker.rules \
--config-files /etc/init/docker.conf \
--config-files /etc/init.d/docker \
--config-files /etc/default/docker \