|
|
@ -49,10 +49,10 @@ if [ "$UPDATE_BTRFS_TOOLS" ]; then |
|
|
|
cd /root/dev/c && |
|
|
|
git clone git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git && |
|
|
|
cd btrfs-progs && |
|
|
|
apt-get install -y asciidoc xmlto --no-install-recommends </dev/null && |
|
|
|
apt-get install -y asciidoc xmlto sphinx --no-install-recommends </dev/null && |
|
|
|
apt-get install -y build-essential autoconf pkg-config uuid-dev libattr1-dev \ |
|
|
|
zlib1g-dev python3-dev python3-setuptools libacl1-dev e2fslibs-dev \ |
|
|
|
libblkid-dev liblzo2-dev libzstd-dev </dev/null && |
|
|
|
libblkid-dev liblzo2-dev libzstd-dev libudev-dev </dev/null && |
|
|
|
./autogen.sh && |
|
|
|
./configure --prefix=/opt/apps/btrfs-tools --disable-zoned && |
|
|
|
make && |
|
|
@ -100,7 +100,7 @@ mount "$BTRFS_MOUNT_ROOT" |
|
|
|
|
|
|
|
if [ -d /var/lib/docker ] ; then |
|
|
|
RESTART_DOCKER=yes |
|
|
|
service docker stop |
|
|
|
service docker stop && |
|
|
|
## XXXvlab: moving doesn't work and is not desirable, as we want docker |
|
|
|
## to setup and detect new underlying btrfs system. |
|
|
|
# mv "/var/lib/docker/"* "$BTRFS_MOUNT_ROOT/var/lib/docker" |
|
|
|