OpenVZ Forum


Home » Mailing lists » Devel » [VZCTL PATCH] dists: add distribution config file for Alpine Linux
[VZCTL PATCH] dists: add distribution config file for Alpine Linux [message #47388] Thu, 09 August 2012 04:22 Go to next message
William Pitcock is currently offline  William Pitcock
Messages: 1
Registered: August 2012
Junior Member
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@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
Re: [VZCTL PATCH] dists: add distribution config file for Alpine Linux [message #47915 is a reply to message #47388] Tue, 18 September 2012 14:42 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 08/09/2012 08:22 AM, William Pitcock wrote:
> 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@enzu.com>

Thank you,

Added to git:
http://git.openvz.org/?p=vzctl;a=commit;h=1263c47

Will appear in vzctl-4.0

> ---
> 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


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: [PATCH v2 0/3] lockd: use per-net refrence-counted NSM clients
Next Topic: vzctl: race condition at open(&quot;/sbin/init&quot;)
Goto Forum:
  


Current Time: Sat Nov 09 00:08:49 GMT 2024

Total time taken to generate the page: 0.03122 seconds