Contents of /smage/trunk/core/mage/alx/mage.custom~
Parent Directory | Revision Log
Revision 1349 -
(show annotations)
(download)
Tue Dec 29 17:00:41 2009 UTC (14 years, 5 months ago) by niro
File size: 702 byte(s)
Tue Dec 29 17:00:41 2009 UTC (14 years, 5 months ago) by niro
File size: 702 byte(s)
auto added: ver bump to 0.4.19-r1.smage2
1 | # $Header: /alx-cvs/smage-eglibc/mage/alx/mage.custom,v 1.7 2008/08/23 23:19:50 niro Exp $ |
2 | |
3 | # rename old functions |
4 | if [[ ! -z $(typeset -f alx_pkgbuild) ]] |
5 | then |
6 | old_alx_pkgbuild=old_$(typeset -f alx_pkgbuild) |
7 | eval ${old_alx_pkgbuild} |
8 | fi |
9 | |
10 | alx_dev_pkgbuild() |
11 | { |
12 | old_alx_dev_pkgbuild |
13 | |
14 | # patch mage to fit alx and busybox |
15 | cd ${BINDIR} |
16 | alxinjectpatch ${PNAME}-${PVER}-alx.patch || die |
17 | alxinjectpatch ${PNAME}-${PVER}-busybox.patch || die |
18 | alxinjectpatch ${PNAME}-${PVER}-smage-busybox.patch || die |
19 | } |
20 | |
21 | # fix logic-issues: do not run the patch on alx-livecd, its already applied |
22 | alx_livecd_pkgbuild() |
23 | { |
24 | old_alx_pkgbuild |
25 | } |
26 | |
27 | preinstall() |
28 | { |
29 | add_conf_prot_mask /etc/etc-update.conf /etc/mage.rc.example |
30 | } |