source: rpi-buildroot/trunk/fuentes/install/usr/bin/build-raspberry-terminal @ 2329

Last change on this file since 2329 was 2329, checked in by kbut, 3 years ago

add project

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/bash
2folder=$(mktemp -d)
3auxfolder=$(mktemp -d)
4
5cd $folder
6wget https://buildroot.org/downloads/buildroot-2016.05.tar.gz
7mkdir targetbuildroot
8tar -xf buildroot* -C targetbuildroot
9mv targetbuildroot/*/* targetbuildroot/
10cd targetbuildroot
11cat /usr/share/rpi-buildroot/rpi1 /usr/share/rpi-buildroot/packagelist > configs/llxrpi1_defconfig
12cat /usr/share/rpi-buildroot/rpi2 /usr/share/rpi-buildroot/packagelist > configs/llxrpi2_defconfig
13cat /usr/share/rpi-buildroot/rpi3 /usr/share/rpi-buildroot/packagelist > configs/llxrpi3_defconfig
14svn export http://svn.lliurex.net/xenial/lliurex-rpi-packages/trunk/fuentes/ ${auxfolder}1
15cp -r ${auxfolder}1/* package/
16echo 'menu "Lliurex"' >> package/Config.in
17for p in $(ls "${auxfolder}1"); do
18        echo -e '\tsource "package/'${p}'/Config.in"' >> package/Config.in
19done
20echo 'endmenu' >> package/Config.in
21make llxrpi1_defconfig
22make
23mv output/images ../rpi1
24make clean
25rm .config
26make llxrpi2_defconfig
27make
28mv output/images ../rpi2
29make llxrpi3_defconfig
30make
31mv output/images ../rpi3
32
33echo -e "\n\n\n\n**************************************"
34echo "output folder $folder"
35echo -e "\n\n\n\n**************************************"
Note: See TracBrowser for help on using the repository browser.