]> git.proxmox.com Git - lxc.git/commitdiff
packaging: drop old unused patch files
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 15 Nov 2016 08:53:17 +0000 (09:53 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 15 Nov 2016 08:53:25 +0000 (09:53 +0100)
debian/patches/do-dot-call-chown_mapped_root-on-etc-pve.patch [deleted file]
debian/patches/do-not-use-config-path-for-rootfs.patch [deleted file]
debian/patches/fix-default-lxc-config.patch [deleted file]
debian/patches/include-linux-sched.patch [deleted file]
debian/patches/series

diff --git a/debian/patches/do-dot-call-chown_mapped_root-on-etc-pve.patch b/debian/patches/do-dot-call-chown_mapped_root-on-etc-pve.patch
deleted file mode 100644 (file)
index 6b0ffea..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: new/src/lxc/lxccontainer.c
-===================================================================
---- new.orig/src/lxc/lxccontainer.c
-+++ new/src/lxc/lxccontainer.c
-@@ -870,6 +870,11 @@ static int do_create_container_dir(const
-                       return -1;
-               }
-       }
-+
-+      /* it is not possible to set ownership on /etc/pve */
-+      if (strncmp(path, "/etc/pve/lxc/", 12) == 0)
-+              return ret;
-+
-       strcpy(p, path);
-       if (!lxc_list_empty(&conf->id_map) && chown_mapped_root(p, conf) != 0) {
-               ERROR("Failed to chown container dir");
diff --git a/debian/patches/do-not-use-config-path-for-rootfs.patch b/debian/patches/do-not-use-config-path-for-rootfs.patch
deleted file mode 100644 (file)
index 9fb5d67..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: new/src/lxc/lxccontainer.c
-===================================================================
---- new.orig/src/lxc/lxccontainer.c
-+++ new/src/lxc/lxccontainer.c
-@@ -924,10 +924,10 @@ static struct bdev *do_bdev_create(struc
-               dest = alloca(len);
-               ret = snprintf(dest, len, "%s", rpath);
-       } else {
--              const char *lxcpath = do_lxcapi_get_config_path(c);
--              len = strlen(c->name) + strlen(lxcpath) + 9;
-+              const char *rootfs_path = "/var/lib/lxc";
-+              len = strlen(c->name) + strlen(rootfs_path) + 9;
-               dest = alloca(len);
--              ret = snprintf(dest, len, "%s/%s/rootfs", lxcpath, c->name);
-+              ret = snprintf(dest, len, "%s/%s/rootfs", rootfs_path, c->name);
-       }
-       if (ret < 0 || ret >= len)
-               return NULL;
diff --git a/debian/patches/fix-default-lxc-config.patch b/debian/patches/fix-default-lxc-config.patch
deleted file mode 100644 (file)
index 8adedf9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-Index: new/config/etc/default.conf.unknown
-===================================================================
---- new.orig/config/etc/default.conf.unknown
-+++ new/config/etc/default.conf.unknown
-@@ -1 +1,4 @@
- lxc.network.type = empty
-+lxc.id_map = u 0 100000 65536
-+lxc.id_map = g 0 100000 65536
-+
diff --git a/debian/patches/include-linux-sched.patch b/debian/patches/include-linux-sched.patch
deleted file mode 100644 (file)
index 820c5ee..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: new/src/lxc/namespace.h
-===================================================================
---- new.orig/src/lxc/namespace.h
-+++ new/src/lxc/namespace.h
-@@ -23,10 +23,12 @@
- #ifndef __LXC_NAMESPACE_H
- #define __LXC_NAMESPACE_H
-+#include "config.h"
-+
- #include <sys/syscall.h>
-+#include <linux/sched.h>
- #include <sched.h>
--#include "config.h"
- #ifndef CLONE_FS
- #  define CLONE_FS                0x00000200
index d8de190ae2ab5746c26ef39ac322ac1d75a3662d..29bdbb654275e4aa6883a9997e1708213de8e655 100644 (file)
@@ -1,10 +1,6 @@
 fix-systemd-service-depends.patch
-#fix-default-lxc-config.patch
 remove-systemd-delegate-flag.patch
-include-linux-sched.patch
-#do-dot-call-chown_mapped_root-on-etc-pve.patch
 use-var-lib-vz-as-default-dir.patch
-#do-not-use-config-path-for-rootfs.patch
 run-lxcnetaddbr.patch
 deny-rw-mounting-of-sys-and-proc.patch
 phynet-rename.patch