From 1f589eb8f27c2fed551671ccf6e8ccdb4ce44a7f Mon Sep 17 00:00:00 2001 From: "John P. Davis" Date: Wed, 15 Oct 2003 05:16:31 +0000 Subject: [PATCH] getting some changes in git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@8 d1e1f19c-881f-0410-ab34-b69fee027534 --- targets/stage1/stage1.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/targets/stage1/stage1.sh b/targets/stage1/stage1.sh index 2622003f..37581ba7 100755 --- a/targets/stage1/stage1.sh +++ b/targets/stage1/stage1.sh @@ -1,14 +1,11 @@ #!/bin/bash +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/Attic/stage1.sh,v 1.2 2003/10/15 05:16:31 zhen Exp $ -if [ "${1}" ]; then - ver=${1} -else - ver=x86-1.4 -fi - -for x in `cat /usr/portage/profiles/${BUILDTYPE}-${ver}/packages.build` +for x in `cat /usr/portage/profiles/${REL_TYPE}-${REL_VERSION}/packages.build` do - myp=$(grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" /usr/portage/profiles/${BUILDTYPE}-${ver}/packages | grep -v '^#' | sed -e 's:^\*::' | cat ) + myp=$(grep -E "${x}(-[^[:space:]]*)?[[:space:]]*$" /usr/portage/profiles/${REL_TYPE}-${REL_VERSION}/packages | grep -v '^#' | sed -e 's:^\*::' | cat ) if [ "$myp" = "" ] then #if not in the system profile, include it anyway @@ -17,3 +14,4 @@ do echo $myp fi done + -- 2.26.2