cdrtools: Ensure kernel module loaded at boot

This commit is contained in:
Toyam Cox 2016-05-05 03:28:53 -04:00
parent c34a1358c6
commit f72ffb307e
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,2 @@
Some utilities need kernel modules to be loaded before they work properly.
Running the modules-load command at this time is recommended.

View file

@ -1,7 +1,7 @@
# Template file for 'cdrtools'
pkgname=cdrtools
version=3.01
revision=3
revision=4
makedepends="acl-devel"
conf_files="/etc/default/rscsi /etc/default/cdrecord"
short_desc="Highly portable CD/DVD/BluRay command line recording software"
@ -21,4 +21,6 @@ do_install() {
rm -rf ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/lib/lib* ${DESTDIR}/usr/lib/profiled
rm -rf ${DESTDIR}/usr/share/man/man3
vmkdir usr/lib/modules-load.d
echo sg > ${DESTDIR}/usr/lib/modules-load.d/cdrtools.conf
}