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

Kir Kolyshkin kir at openvz.org
Tue Sep 18 07:42:15 PDT 2012


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





More information about the Devel mailing list