diff options
author | John Rigby <john.rigby@linaro.org> | 2012-11-15 08:40:26 -0700 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-11-15 08:40:26 -0700 |
commit | 0e414589d056b9dd10fe05527eea6fe4931fbc9e (patch) | |
tree | e5717381c4f7faee5adb2640812a36ba318a0487 /scripts | |
parent | 216646992f6ac43dbb78ef26ff4ed449c18e5ce4 (diff) |
fixes for 3.7 raring
no more armel
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/filtersauce | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/scripts/filtersauce b/scripts/filtersauce index 0f2bd01..6be67bd 100755 --- a/scripts/filtersauce +++ b/scripts/filtersauce @@ -133,13 +133,14 @@ process_first_ubuntu_patch() { git reset --hard $first_ubuntu_commit git clean -d -f -x - git rm -r debian debian.master dropped.txt + git rm -rf debian debian.master dropped.txt || + echo thats ok git commit --amend -s -m "$(git log -1 --pretty="SAUCE only changes from %h %s" $first_ubuntu_commit)" git format-patch -1 -o $sauce_patchdir git reset --hard $upstream_tag git clean -d -f -x - git checkout $first_ubuntu_commit -- debian debian.master dropped.txt + git checkout -f $first_ubuntu_commit -- debian debian.master dropped.txt git commit -s -m "$(git log -1 --pretty="Packaging only changes from %h %s" $first_ubuntu_commit)" git format-patch -1 -o $packaging_patchdir @@ -285,12 +286,10 @@ create_debian_linaro_omap_only() | xargs rm for ts in skipmodule skipabi disable_d_i do_complete_flavour_headers do_timestamp_version skipconfig do - echo -e "$ts\t= true" >> debian.linaro/rules.d/armel.mk echo -e "$ts\t= true" >> debian.linaro/rules.d/armhf.mk done - sed -i -e "s/flavours.*=.*/flavours = linaro-SOCFLAVOUR/" debian.linaro/rules.d/armel.mk sed -i -e "s/flavours.*=.*/flavours = linaro-SOCFLAVOUR/" debian.linaro/rules.d/armhf.mk - sed -i -e 's/archs=".*arm.*$/archs="armel armhf"/' debian.linaro/etc/kernelconfig + sed -i -e 's/archs=".*arm.*$/archs="armhf"/' debian.linaro/etc/kernelconfig git add debian.linaro git commit -s -m "LINARO: debian.linaro omap flavour only based on debian.master" true @@ -299,7 +298,7 @@ create_debian_linaro_omap_only() print_vars_file() { cat <<- __ENDVARS__ - arch="armel armhf" + arch="armhf" supported="SOCVENDOR SOCFAMILY" desc="SOCVENDOR SOCFAMILY-based systems" target="Targeted towards boards such as SAMPLEBOARDS, etc." @@ -339,7 +338,7 @@ create_debian_linaro_template_from_omap_only() sed -i \ -e '1 s/linux/SRCPKGNAME/' \ -e 's/linux-tools-PKGVER-ABINUM/linux-linaro-tools-PKGVER-ABINUM-linaro-SOCFLAVOUR/' \ - -e 's/Architecture:.*/Architecture: armel armhf/' \ + -e 's/Architecture:.*/Architecture: armhf/' \ debian.linaro/control.stub.in git add debian.linaro/control.stub.in @@ -352,13 +351,10 @@ create_debian_linaro_template_from_omap_only() git add debian.linaro/control.d/flavour-control.stub # config files - git rm debian.linaro/config/armel/config.flavour.omap git rm debian.linaro/config/armhf/config.flavour.omap for cfg in \ debian.linaro/config/config.common.ubuntu \ - debian.linaro/config/armel/config.common.armel \ debian.linaro/config/armhf/config.common.armhf \ - debian.linaro/config/armel/config.flavour.linaro-SOCFLAVOUR \ debian.linaro/config/armhf/config.flavour.linaro-SOCFLAVOUR do echo "# nothing here yet" > $cfg @@ -373,7 +369,6 @@ create_debian_linaro_template_from_omap_only() # misc for f in \ debian.linaro/d-i/kernel-versions.in \ - debian.linaro/rules.d/armel.mk \ debian.linaro/rules.d/armhf.mk do sed -i -e 's/omap/linaro-SOCFLAVOUR/g' $f @@ -412,7 +407,7 @@ while (( $# > 0 )) ; do fullauto="true" ;; -k|--keeptempbranches) - keeptmpbranches="true" + keeptempbranches="true" ;; -o|--overwrite) overwriteok="true" |