Magellan Linux

Contents of /smage/trunk/core/mage/alx/mage.custom

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1164 - (show annotations) (download)
Tue Aug 4 20:13:07 2009 UTC (14 years, 10 months ago) by niro
File size: 761 byte(s)
-added patch to fix busybox issues in mage with the md5sum command
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 alxinjectpatch ${PNAME}-${PVER}-mage-busybox.patch || die
20 }
21
22 # fix logic-issues: do not run the patch on alx-livecd, its already applied
23 alx_livecd_pkgbuild()
24 {
25 old_alx_pkgbuild
26 }
27
28 preinstall()
29 {
30 add_conf_prot_mask /etc/etc-update.conf /etc/mage.rc.example
31 }