cdrtools: Ensure kernel module loaded at boot
This commit is contained in:
parent
c34a1358c6
commit
f72ffb307e
2 changed files with 5 additions and 1 deletions
2
srcpkgs/cdrtools/INSTALL.msg
Normal file
2
srcpkgs/cdrtools/INSTALL.msg
Normal 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.
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cdrtools'
|
# Template file for 'cdrtools'
|
||||||
pkgname=cdrtools
|
pkgname=cdrtools
|
||||||
version=3.01
|
version=3.01
|
||||||
revision=3
|
revision=4
|
||||||
makedepends="acl-devel"
|
makedepends="acl-devel"
|
||||||
conf_files="/etc/default/rscsi /etc/default/cdrecord"
|
conf_files="/etc/default/rscsi /etc/default/cdrecord"
|
||||||
short_desc="Highly portable CD/DVD/BluRay command line recording software"
|
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/include
|
||||||
rm -rf ${DESTDIR}/usr/lib/lib* ${DESTDIR}/usr/lib/profiled
|
rm -rf ${DESTDIR}/usr/lib/lib* ${DESTDIR}/usr/lib/profiled
|
||||||
rm -rf ${DESTDIR}/usr/share/man/man3
|
rm -rf ${DESTDIR}/usr/share/man/man3
|
||||||
|
vmkdir usr/lib/modules-load.d
|
||||||
|
echo sg > ${DESTDIR}/usr/lib/modules-load.d/cdrtools.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue