Commit 95d3ecc6 authored by Natanael Copa's avatar Natanael Copa

main/alpine-conf: fix setup-disk data-mode only without lvm

fixes #678
parent 044e8f4f
From 357361cda1b4a129edddcc1d55b5bc231c74a4e7 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 7 Jun 2011 14:17:30 +0000
Subject: [PATCH] setup-disk: fix data-only mode with no lvm and no raid
ref #678
---
setup-disk.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup-disk.in b/setup-disk.in
index 9d073ec..026e32a 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -612,8 +612,8 @@ data_only_disk_install_lvm() {
data_only_disk_install() {
local diskdev=
- local var_dev=/dev/$vgname/lv_var
- local var_part_type="8e"
+ local var_dev=
+ local var_part_type="83"
local swap_part_type=82
local size=
local swap_dev= var_dev=
--
1.7.5.4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.8.1
pkgrel=0
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
0001-setup-disk-fix-data-only-mode-with-no-lvm-and-no-rai.patch
"
arch="all"
license="GPL-2"
......@@ -35,4 +36,5 @@ package() {
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
md5sums="a8068da6ae47c1bc567ba215b0da6187 alpine-conf-2.8.1.tar.bz2"
md5sums="a8068da6ae47c1bc567ba215b0da6187 alpine-conf-2.8.1.tar.bz2
293f052fe9082b73be395a380d90699e 0001-setup-disk-fix-data-only-mode-with-no-lvm-and-no-rai.patch"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment