#!/bin/sh # First argument of this script is the package name # 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 # If you know exactly the device to use with cdrecord, # enter it in this variable. If this variable is empty, # cdrecord scripts will try to autodetect the device # using the CDR_DEVICE_DESC variable. #CDREC_DEVICE="ATAPI:1,1,0" #CDROM_DEVICE="ATAPI:1,0,0" # This variable contains the identification string that # cdrecord scripts will look for when calling cdrecord # with the "-scanbus" option CDREC_DEVICE_DESC="CD-Writer+ 8200" CDROM_DEVICE_DESC="CDR-8235" EOF # Return last error exit $?