[Devel] [VZCTL PATCH] dists: add distribution config file for Alpine Linux

William Pitcock william.pitcock at enzu.com
Wed Aug 8 21:22:31 PDT 2012


Alpine Linux is a lightweight distribution built on top of uClibc and Busybox, with
Debian-like network configuration.

Signed-off-by: William Pitcock <william.pitcock at enzu.com>
---
 etc/dists/Makefile.am |  6 +++++-
 etc/dists/alpine.conf | 27 +++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 etc/dists/alpine.conf

diff --git a/etc/dists/Makefile.am b/etc/dists/Makefile.am
index c61af48..5d02f91 100644
--- a/etc/dists/Makefile.am
+++ b/etc/dists/Makefile.am
@@ -40,6 +40,9 @@ SUSE_7x_VER   = 7.3
 SUSE_8x_VER   = 8.0 8.1 8.2
 UBUNTU_6x_VER = 6.06
 
+alpine:
+	$(INSTALL_DATA) $(srcdir)/alpine.conf $(DESTDIR)$(distconfdir)/alpine.conf
+
 altlinux:
 	$(INSTALL_DATA) $(srcdir)/altlinux.conf \
 		$(DESTDIR)$(distconfdir)/altlinux.conf
@@ -132,7 +135,8 @@ ubuntu:
 	$(INSTALL_DATA) $(srcdir)/debian.conf \
 		$(DESTDIR)$(distconfdir)/ubuntu.conf
 
-install-data-hook: altlinux \
+install-data-hook: alpine \
+                   altlinux \
                    arch \
                    centos \
                    debian \
diff --git a/etc/dists/alpine.conf b/etc/dists/alpine.conf
new file mode 100644
index 0000000..efa7c23
--- /dev/null
+++ b/etc/dists/alpine.conf
@@ -0,0 +1,27 @@
+#  Copyright (C) 2012 Enzu Inc.
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# This configuration file is meant to be used with
+# the Alpine distribution kit.
+#
+
+ADD_IP=debian-add_ip.sh
+DEL_IP=debian-del_ip.sh
+SET_HOSTNAME=debian-set_hostname.sh
+SET_DNS=set_dns.sh
+SET_USERPASS=set_userpass.sh
+SET_UGID_QUOTA=set_ugid_quota.sh
+POST_CREATE=postcreate.sh
-- 
1.7.11.3




More information about the Devel mailing list