aboutsummaryrefslogtreecommitdiff
# Get buildroot source
git clone git://git.buildroot.net/buildroot
cd buildroot
# checkout tag
git checkout 2016.11.x

# Download dotconfig and required patches
wget http://people.linaro.org/~naresh.kamboju/kselftest-patches-buildroot/dot-config -O  .config
wget http://people.linaro.org/~naresh.kamboju/kselftest-patches-buildroot/0001-linux-fix-defconfig-for-arm64.patch
wget http://people.linaro.org/~naresh.kamboju/kselftest-patches-buildroot/0002-busybox-enable-taskset-cmd.patch

# Apply patches
patch -p1 < 0001-linux-fix-defconfig-for-arm64.patch
patch -p1 < 0002-busybox-enable-taskset-cmd.patch
# Build the rootfs
make
# Publish rootfs.tar.xz
scp output/images/rootfs.tar.xz username@server.org:/home/username/public_html/