0,0 → 1,27 |
#!/bin/sh |
|
PATCHED_FILES_KERN="sys/kern/kern_time.c sys/kern/kern_ntptime.c" |
PATCHED_FILES_MODULE="sys/conf/files sys/modules/Makefile" |
PATCHED_FILES_NTP="contrib/ntp/ntpd/ntpd.c" |
|
BIN_DIR=`dirname $0` |
OUTDIR="${BIN_DIR}/../output" |
SRCDIR=/usr/src |
|
mkdir -p ${OUTDIR} |
|
rm -f ${OUTDIR}/kern_settime.patch |
for f in ${PATCHED_FILES_KERN} ; do |
(cd ${SRCDIR}; diff -u $f.orig $f) >> ${OUTDIR}/kern_settime.patch |
done |
|
rm -f ${OUTDIR}/modules.patch |
for f in ${PATCHED_FILES_MODULE} ; do |
(cd ${SRCDIR}; diff -u $f.orig $f) >> ${OUTDIR}/modules.patch |
done |
|
rm -f ${OUTDIR}/ntp.patch |
for f in ${PATCHED_FILES_NTP} ; do |
(cd ${SRCDIR}; diff -u $f.orig $f) >> ${OUTDIR}/ntp.patch |
done |
|
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |