diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-04 01:17:50 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-04 01:17:50 +0000 |
commit | 03880b546d794abafd6dab3eed876dbefe06c174 (patch) | |
tree | 42ef9d2fb26b6321a7bda2f8eecb0009471bb3c2 /data/system-cmds | |
parent | 8f3b67fe1123828377d340922a1aca2d4c4c1989 (diff) |
Revision numbers on packages now being bumped, moved files around in Apple packages to the correct folders (adjusting for conflicts), added numerous Java packages, and fixed dependencies on findutils, coreutils, inetutils, and gnupg.
git-svn-id: http://svn.telesphoreo.org/trunk@11 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/system-cmds')
-rw-r--r-- | data/system-cmds/make.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/data/system-cmds/make.sh b/data/system-cmds/make.sh index 7a200fe3b..0275ab3e8 100644 --- a/data/system-cmds/make.sh +++ b/data/system-cmds/make.sh @@ -1,16 +1,25 @@ shopt -s extglob -tar -zxvf "${PKG_DATA}/system_cmds-431.tar.gz" -cd system_cmds-431 -mkdir -p "${PKG_DEST}/usr/bin" +pkg:extract +cd * + cd getconf.tproj for gperf in *.gperf; do LC_ALL=C awk -f fake-gperf.awk <"${gperf}" >"$(basename "${gperf}" .gperf).c" done cd .. + cp -va "${PKG_DATA}"/kextmanager* . # dmesg reboot shutdown for tproj in getconf getty hostinfo iostat login nvram passwd sync sysctl vipw zprint; do echo "${tproj}" arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/!(od_passwd).c -I. -D'__FBSDID(x)=' -DTARGET_OS_EMBEDDED -framework CoreFoundation -framework IOKit kextmanagerUser.c - cp -a "${tproj}" "${PKG_DEST}/usr/bin" + arm-apple-darwin-strip "${tproj}" done + +chmod u+s passwd login + +pkg: mkdir -p /bin /usr/bin /usr/sbin + +pkg: cp -a sync /bin +pkg: cp -a passwd zprint getty getconf hostinfo login /usr/bin +pkg: cp -a sysctl nvram vipw iostat /usr/sbin |