repo to individual wrapfs-x.y.z repos.
* backup-kconfig.sh: back up kernel configs from individual
wrapfs-x.y.z repos to CVSROOT/wrapfs/ repo.
* update-stable.sh: comment out unused variable.
* 4a-gits: support l flag to include wrapfs-latest in list.
#!/bin/sh
-LIST=`echo wrapfs-2* wrapfs-3.[0-9] wrapfs-3.[0-9][0-9] wrapfs-4.[0-9] wrapfs-4.[0-9][0-9] wrapfs-latest`
+LIST=`echo wrapfs-2* wrapfs-3.[0-9] wrapfs-3.[0-9][0-9] wrapfs-4.[0-9] wrapfs-4.[0-9][0-9]`
#LIST=`echo wrapfs-4.[0-9] wrapfs-4.[0-9][0-9]`
if test -z "$1" ; then
- echo "Usage: $0 [+[alw]] cmd [args...]"
+ echo "Usage: $0 [+l] cmd [args...]"
exit 1
fi
+if test "$1" = "+l" ; then
+ LIST="${LIST} wrapfs-latest"
+ shift
+fi
+
for i in $LIST
do
echo :::$i:::
+2019-12-08 Erez Zadok <ezk@fsl.cs.sunysb.edu>
+
+ * restore-kconfig.sh: copy saved kernel configs from CVSROOT/wrapfs/
+ repo to individual wrapfs-x.y.z repos.
+
+ * backup-kconfig.sh: back up kernel configs from individual
+ wrapfs-x.y.z repos to CVSROOT/wrapfs/ repo.
+
+ * update-stable.sh: comment out unused variable.
+
+ * 4a-gits: support +l flag to include wrapfs-latest in list.
+
2019-12-06 Erez Zadok <ezk@fsl.cs.sunysb.edu>
* README: fix typo.
--- /dev/null
+#!/bin/sh
+# backup kernel .config files from individual wrapfs-x.y.z repos
+
+SRC=$HOME/proj/wrapfs/centos-6.10-configs-fusion
+
+# function to execute commands
+runcmd() {
+ echo "CMD: $@"
+ $@
+ ret=$?
+ if [ $ret -ne 0 ] ; then
+ echo "ERROR in running cmd: $@"
+ exit $ret
+ fi
+}
+
+THIS_REPO=`basename $PWD | sed -e 's/^wrapfs-//'`
+runcmd cp -av .config $SRC/wrapfs-$THIS_REPO.config
+
--- /dev/null
+#!/bin/sh
+# copy proper kernel .config over to individual wrapfs-x.y.z repos
+
+SRC=$HOME/proj/wrapfs/centos-6.10-configs-fusion
+
+# function to execute commands
+runcmd() {
+ echo "CMD: $@"
+ $@
+ ret=$?
+ if [ $ret -ne 0 ] ; then
+ echo "ERROR in running cmd: $@"
+ exit $ret
+ fi
+}
+
+THIS_REPO=`basename $PWD | sed -e 's/^wrapfs-//'`
+runcmd cp -av $SRC/wrapfs-$THIS_REPO.config .config
+#runcmd ls -l $SRC/wrapfs-$THIS_REPO.config
#!/bin/sh
# update a wrapfs repo from stable branch
-FSL_GIT="ssh://git.fsl.cs.sunysb.edu/scm/git/ROHIT"
+# $FSL_GIT unused in this script
+#FSL_GIT="ssh://git.fsl.cs.sunysb.edu/scm/git/ROHIT"
KORG_GIT="git://git.kernel.org/pub/scm/linux/kernel/git"
# function to execute commands