File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ case $1 in
1111 ;;
1212esac
1313
14- . /usr/share/initramfs-tools/hook-functions
15-
16- copy_exec /bin/tar /usr/bin/tar
17-
1814set_tmpfs_log_partition_size ()
1915{
2016 varlogsize=128
@@ -56,7 +52,7 @@ mkdir -p ${rootmnt}/var/lib/docker
5652if [ -f ${rootmnt} /host/$image_dir /{{ FILESYSTEM_DOCKERFS }} ]; then
5753 # # mount tmpfs and extract docker into it
5854 mount -t tmpfs -o rw,nodev,size={{ DOCKER_RAMFS_SIZE }} tmpfs ${rootmnt} /var/lib/docker
59- /usr/bin/ tar xz --numeric-owner --warning=no-timestamp -f ${rootmnt} /host/$image_dir /{{ FILESYSTEM_DOCKERFS }} -C ${rootmnt} /var/lib/docker
55+ tar xz --numeric-owner -f ${rootmnt} /host/$image_dir /{{ FILESYSTEM_DOCKERFS }} -C ${rootmnt} /var/lib/docker
6056else
6157 # # Mount the working directory of docker engine in the raw partition, bypass the overlay
6258 mount --bind ${rootmnt} /host/$image_dir /{{ DOCKERFS_DIR }} ${rootmnt} /var/lib/docker
You can’t perform that action at this time.
0 commit comments