X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fcdrtools;h=37228ad0490b5b0506bada6e7d192bfb5098462b;hb=f3c8db3027d5dc530e1f30c88e0235975211582e;hp=50df0636c97b2304d1ba7991d0f3d41ac721a940;hpb=0fb786eca497edb316e1dfaa4a4ccec2d6b3f694;p=hvlinux.git diff --git a/stage5/pkg/cdrtools b/stage5/pkg/cdrtools index 50df063..37228ad 100644 --- a/stage5/pkg/cdrtools +++ b/stage5/pkg/cdrtools @@ -1,22 +1,13 @@ -#!/bin/sh -set -o errexit +#!/bin/bash -# First argument of this script is the package name +hvbuild() +{ + cd ${LFS_TMP}/${PACKAGE} + make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root + make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install -# Reading system configuration informations, functions and package versions. -source ../sysinfos -source ../functions -source ../packages-list - -# Applying patches (if any) -apply_patches ${1} - -cd ${LFS_TMP}/${1} -make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root -make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install - -cat > /etc/sysconfig/cdrecord << "EOF" -#!/bin/sh + cat > /etc/sysconfig/cdrecord << "EOF" +#!/bin/bash # If you know exactly the device to use with cdrecord, # enter it in this variable. If this variable is empty, @@ -31,5 +22,4 @@ cat > /etc/sysconfig/cdrecord << "EOF" CDREC_DEVICE_DESC="CD-Writer+ 8200" CDROM_DEVICE_DESC="CDR-8235" EOF - -exit $? +}