diff options
author | Jay Freeman <saurik@saurik.com> | 2009-06-17 22:06:39 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-06-17 22:06:39 +0000 |
commit | 2b8a416faa0ffd207f16ff6295d97c26b4bdd597 (patch) | |
tree | de63d9a0a76fc4a92b89dd0e549bff339df57f64 | |
parent | ff5c4980d8ad80ef3554fafe9294197301a90bc5 (diff) |
Added dynamic_pager.
git-svn-id: http://svn.telesphoreo.org/trunk@620 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r-- | data/system-cmds/_metadata/priority | 2 | ||||
-rw-r--r-- | data/system-cmds/make.sh | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/data/system-cmds/_metadata/priority b/data/system-cmds/_metadata/priority index fad9e164a..d0b3ce728 100644 --- a/data/system-cmds/_metadata/priority +++ b/data/system-cmds/_metadata/priority @@ -1 +1 @@ -required ++required diff --git a/data/system-cmds/make.sh b/data/system-cmds/make.sh index a66246fb5..95b2ea7b4 100644 --- a/data/system-cmds/make.sh +++ b/data/system-cmds/make.sh @@ -13,12 +13,19 @@ ${PKG_TARG}-gcc -o dmesg dmesg.tproj/*.c -I. ${PKG_TARG}-gcc -o sysctl sysctl.tproj/sysctl.c -I. ${PKG_TARG}-gcc -o arch arch.tproj/*.m -I. -framework CoreFoundation -framework Foundation -lobjc +cd dynamic_pager.tproj +mig -server backing_store_triggers_server.h -user /dev/null -header /dev/null backing_store_triggers.defs +mig -server /dev/null -user backing_store_alerts.h -header /dev/null backing_store_alerts.defs +mig -server default_pager_alerts_server.h -user /dev/null -header /dev/null default_pager_alerts.defs +cd .. + cp -va "${PKG_DATA}"/kextmanager* . # XXX: kvm_mkdb shutdown -for tproj in ac accton getconf getty hostinfo iostat login mkfile nvram pwd_mkdb reboot sync update vifs vipw zdump zic zprint; do +for tproj in ac accton dynamic_pager getconf getty hostinfo iostat login mkfile nvram pwd_mkdb reboot sync update vifs vipw vm_stat zdump zic zprint; do cflags= case ${tproj} in + (dynamic_pager) cflags="${cflags} -Idynamic_pager.tproj";; (kvm_mkdb) cflags="${cflags} -DBSD_KERNEL_PRIVATE";; (login) cflags="${cflags} -lpam -DUSE_PAM";; (pwd_mkdb) cflags="${cflags} -D_PW_NAME_LEN=MAXLOGNAME -D_PW_YPTOKEN=\"__YP!\"";; @@ -38,9 +45,9 @@ pkg: cp -a pagesize.tproj/pagesize.sh /usr/bin/pagesize pkg: chmod 755 /sbin/nologin /usr/bin/pagesize pkg: cp -a sync /bin -pkg: cp -a reboot dmesg /sbin +pkg: cp -a dmesg dynamic_pager reboot /sbin pkg: ln -s reboot /sbin/halt -pkg: cp -a arch getconf getty hostinfo login passwd zprint /usr/bin +pkg: cp -a arch getconf getty hostinfo login passwd vm_stat zprint /usr/bin pkg: ln -s chpass /usr/bin/chfn pkg: ln -s chpass /usr/bin/chsh pkg: ln -s less /usr/bin/more |