pentoo-installer: patch from jensp, issue handling by The_Eccentric, closes bug #5

This commit is contained in:
Zero_Chaos 2012-05-09 21:26:20 +00:00
parent 5da6b5dc03
commit e6b1bcdb69
3 changed files with 49 additions and 0 deletions

View file

@ -1,2 +1,4 @@
AUX 7500-ext4.patch 732 RMD160 b79b95af8d96dfd804abf1bc3b41971ac7d2b690 SHA1 65cdc747467c05330b96bcf878aa6406f227a0f7 SHA256 cc139f34f29dbf2d797eb4b4da0f5887a2aea27d130722fb2165ed3338e82e72
DIST pentoo-installer-0.1.3.2.tar.xz 20368 RMD160 14790ad732722b285f15859e24bcf274213160a2 SHA1 b69f59575bae6b06eac11a27ac2bf61a7f8c6edf SHA256 5ea5931458018f8422eebd9a5968ca28054607e0643df0c53564abcf7db46e9a
EBUILD pentoo-installer-0.1.3.2-r1.ebuild 618 RMD160 ca536eac954721104ed9c647023fa2afd0f79ce5 SHA1 39f3d6e0d7942779aea77da91f6e59dfa7b544fb SHA256 cbf48e69d310a100a96a37194a56d1d0a96597d099dcacabe63129560f832974
EBUILD pentoo-installer-0.1.3.2.ebuild 552 RMD160 e412bcbdfbcf726b4abb3fac6bb0d120749d99d2 SHA1 e85851f5a645c5812a6b7c5ceb62ef7d92ff7f22 SHA256 09347afb7d09592787a88a1d76414155de65129be6abfa29aa476d052b0f4be8

View file

@ -0,0 +1,17 @@
https://code.google.com/p/pentoo/issues/detail?id=5
FIX! via jensp
Reported\Tested The_Eccentric0
diff --git a/setup b/setup
index 0dd51eb..1ab6453 100755
--- a/setup
+++ b/setup
@@ -418,7 +418,7 @@ autoprepare()
|| return 1
DEVICE=$DISC
- FSSPECS=$(echo $DEFAULTFS | sed -e "s|/:7500:ext3|/:$ROOT_PART_SIZE:$FSTYPE|g" -e "s|/home:\*:ext3|/home:\*:$FSTYPE|g" -e "s|swap:256|swap:$SWAP_PART_SIZE|g" -e "s|/boot:32|/boot:$BOOT_PART_SIZE|g")
+ FSSPECS=$(echo $DEFAULTFS | sed -e "s|/:7500:ext4|/:$ROOT_PART_SIZE:$FSTYPE|g" -e "s|/home:\*:ext3|/home:\*:$FSTYPE|g" -e "s|swap:256|swap:$SWAP_PART_SIZE|g" -e "s|/boot:32|/boot:$BOOT_PART_SIZE|g")
sfdisk_input=""
# we assume a /dev/hdX format (or /dev/sdX)

View file

@ -0,0 +1,30 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
DESCRIPTION="ncurses based installer for pentoo, based on the Arch Linux installer"
HOMEPAGE="http://gitorious.org/pentoo/pentoo-installer"
SRC_URI="http://dev.pentoo.ch/~jensp/distfiles/$P.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="app-arch/xz-utils"
RDEPEND="dev-util/dialog
|| ( <sys-boot/grub-1
<sys-boot/grub-static-1 )
net-misc/rsync"
src_prepare() {
epatch "${FILESDIR}"/7500-ext4.patch
}
src_install() {
newsbin setup $PN
}