summaryrefslogtreecommitdiff
path: root/hikey-m-workarounds
blob: 94a6cf1e736a0a1cf06051fe4514829967bcf663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/sh

. $(dirname $0)/functions

PATCHES=0
if [ -n "$1" ]; then
        AOSP="$1"
else
        AOSP="`pwd`"
fi

if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
        echo "This script must be run from the AOSP source directory"
        echo "or with the AOSP source directory as its first parameter."
        exit 1
fi

##################################################
################ Linaro hack   ###################
##################################################
## Linaro patch for development based on the AOSP master branch

## patches for kernel compilation based on the AOSP master branch
## https://android-review.linaro.org/#/c/16834/
apply --linaro device/linaro/hikey 16834/3

## revert removal of dhcpd
revert device/linaro/hikey a06197424834f56ea4e90df1999089ebd50c3e16

## revert hack for dhcpcd_eth0 service
revert device/linaro/hikey 4c1238443cce2a0c0a689ab60d09f2df2a0500c7

## revert removal of  definition of configfs
revert device/linaro/hikey 644d7abe37111bbd9b83486bc449e96a49c8cf30

## revert system_server sepolicy rules to allow /proc/tid/timerslack_ns access
revert device/linaro/hikey da092471de1452c686461e7f03faa54cce147f48

## revert to have default serialno
revert device/linaro/hikey 128d7e6340d693af53bdecac28fd97d3ae8695ee

## rules for marshmallow
## http://android-review.linaro.org/17114
apply --linaro device/linaro/hikey 17114/1

## make adb root by default
## http://android-review.linaro.org/17121
apply --linaro device/linaro/hikey 17121/1

## backport AOSP master change for netlink socket classes
## for SELinux support
##http://android-review.linaro.org/16931
apply --linaro external/sepolicy 16931/1

## hack workaround for tracefs
## http://android-review.linaro.org/16932
apply --linaro external/sepolicy 16932/1