diff --git a/build_arm_image/.gitignore b/build_arm_image/.gitignore index e7e4f39..1bdecb0 100644 --- a/build_arm_image/.gitignore +++ b/build_arm_image/.gitignore @@ -1 +1,2 @@ _build_arm_steps +.*.swp diff --git a/build_arm_image/README.md b/build_arm_image/README.md index 96f2c74..3c0753f 100644 --- a/build_arm_image/README.md +++ b/build_arm_image/README.md @@ -1,18 +1,46 @@ += Build your own yunohost image for Raspberry Pi = + This folder contains helper scripts to build an arm image for raspberry. The files here are for builder. They are not needed to install yunohost. The folder structure maps debian OS folders, shell script here are helpers. - The files are copied on the sdcard when installation is finished. -See also: https://yunohost.org/#/build_arm_image for previous step. +== See also == +* https://yunohost.org/#/build_arm_image for buildini step explanations +* https://forum.yunohost.org/t/building-a-new-image-for-raspberry-debian-jessie-fr-en/1101/13 - discussion about building an new image for Raspberry Pi. -run the following script before shuting down your rasbian. +== Files == + +Descriptions of the files available here. + +=== Run on PC === + +Scripts are prefixed by a number which is an hint of the order they should be ran. + +==== autosizer.sh ==== + +Used on your PC to compact the dd image you will copy back. +this script requier root privilege to run and modify the sdcard image. + +==== 01_create_sdcard.sh ==== + +Create a bootable image for raspbian. You have to download the .zip of the image. +it embeds sudo call for using dd to copy the raw image to the sdcard. + +Usage: + +~~~ +./01_create_sdcard.sh image_rasbian.zip /dev/device_to_sdcard +~~~ + +it takes some minutes to perform all the steps. Be patient. + + +=== Run on Raspberry === + +run the following script before shuting down your raspbian. ~~~ ./intsall_arm.sh ~~~ - - -autosizer.sh is used on your PC to compact the dd image you will copy back. -this script requier root privilege to run and modify the sdcard image. diff --git a/build_arm_image/nopasskey b/build_arm_image/nopasskey new file mode 100644 index 0000000..6c3ddbf --- /dev/null +++ b/build_arm_image/nopasskey @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEArQtaSUb9ge79E/bNfAoH3jaPbWtG5O7+y/7m+Bi8I5KY+DHI +cUfc0Agf4HxpioJFHUP5U5xcchHwMXcoQ5qGTd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fne6ejaiDDoj8FWsI8syPiXZRlia6aUOX2xaykPieqv8kTnQek82 +YBL/koii2B/h+gcN+1lfMJ0CgYAV0w8QfOE1vWKcXQbXN2u+TKaFCAiGpho2ejT5 +M+gucnbTSlHbaUmnJEL5/JF7TvoNJr28C7TO9pSe31xI2hkmG2Po/2KX8EYaFNG0 +kp4yefBdPVOgR+Xj2eSuJ7RUFI4ZZqEFLCfreg+dTFM72VbFW+1TVRBkCl5CUqW+ +p4bGlQKBgQCf3ixc746gIn33CC93fIRw+1k9wpXYDvBZSMTcmabjHdvqOo/9OZdy +I2Hf+QqWfUsu5oPiVzLQl7QLwaZfZ2i+FLl6QfMZ6JlB+nHlWOFainnwnujLGulj +yJef4liZcrBB8DSNbUTZO8aEME7SDNRYN1qdwn5ddtq1b6F15Cyv6A== +-----END RSA PRIVATE KEY----- diff --git a/build_arm_image/nopasskey.pub b/build_arm_image/nopasskey.pub new file mode 100644 index 0000000..818d709 --- /dev/null +++ b/build_arm_image/nopasskey.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtC1pJRv2B7v0T9s18CgfeNo9ta0bk7v7L/ub4GLwjkpj4MchxR9zQCB/gfGmKgkUdQ/lTnFxyEfAxdyhDmoZN1OyCe9az3Ed2vABawbwdppi8xXBgyCLAR1RrAZaawsLtv+WCjcYtVtIVh6z7Fo5CHl7qGcI8VC2p2JGTRtgzX0yCqHztQ9OhUFRqWEOvnd/ndRjBPSF8ZUXzzzs3G2FEJcinQesZuwD/sspiPXET2T5wnTj7rHPKh8sfFyWghZN1J6RxXucYP2Tv6egMzC1tg0qbxXslmNU+q320hhR0AD7GEX188DjaxXeARc1qRKxmu9365n1DcLpJocpgf/VT sylvain@sylvain-laptop