From 12d207d64dd01081565eeadce5755d0053fb12e5 Mon Sep 17 00:00:00 2001 From: wikijm Date: Sun, 20 Sep 2015 10:53:22 +0200 Subject: [PATCH 1/7] Add rpi-update + Updating firmware Update raspberry-bootstrap to install rpi-update & update firmware, regarding to http://www.tropfacile.net/doku.php/raspberry-pi/comment-mettre-a-jour-le-firmware-du-raspberry --- raspberry-bootstrap | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/raspberry-bootstrap b/raspberry-bootstrap index a693866..349a681 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -89,3 +89,13 @@ sudo aptitude -y dist-upgrade sudo aptitude -y autoclean sudo aptitude -y full-upgrade +echo "Installing rpi-update" +sudo aptitude -y install ca-certificates git-core +sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update + +echo "Updating firmware" +sudo rpi-update + +echo "Rebooting Raspberry" +sudo reboot + From f84f5d88238ea41488a62c69d8a8841c650455bc Mon Sep 17 00:00:00 2001 From: wikijm Date: Sun, 20 Sep 2015 10:57:39 +0200 Subject: [PATCH 2/7] Delete blank rows --- raspberry-bootstrap | 1 - 1 file changed, 1 deletion(-) diff --git a/raspberry-bootstrap b/raspberry-bootstrap index 349a681..851b004 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -98,4 +98,3 @@ sudo rpi-update echo "Rebooting Raspberry" sudo reboot - From 4397251ed3748d720010fd48bc94318171aca39b Mon Sep 17 00:00:00 2001 From: wikijm Date: Sun, 20 Sep 2015 14:58:22 +0200 Subject: [PATCH 3/7] Add raspberry-motd installation Install raspberry-motd (https://github.com/wikijm/raspberrypi-motd) to enhance UI on SSH connection. --- raspberry-bootstrap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/raspberry-bootstrap b/raspberry-bootstrap index 851b004..f897f9d 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -89,6 +89,11 @@ sudo aptitude -y dist-upgrade sudo aptitude -y autoclean sudo aptitude -y full-upgrade +echo "Install raspberry-motd" +cd /etc/profile.d/ +wget https://raw.githubusercontent.com/wikijm/raspberrypi-motd/master/motd.sh +chmod +x motd.sh + echo "Installing rpi-update" sudo aptitude -y install ca-certificates git-core sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update From 07ed68b0457b0224af84610c1f8907ff3a4143d6 Mon Sep 17 00:00:00 2001 From: wikijm Date: Sun, 20 Sep 2015 16:00:43 +0200 Subject: [PATCH 4/7] Add one raw for raspberry-motd installation Add "chown root:root motd.sh" --- raspberry-bootstrap | 1 + 1 file changed, 1 insertion(+) diff --git a/raspberry-bootstrap b/raspberry-bootstrap index f897f9d..d1375d4 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -92,6 +92,7 @@ sudo aptitude -y full-upgrade echo "Install raspberry-motd" cd /etc/profile.d/ wget https://raw.githubusercontent.com/wikijm/raspberrypi-motd/master/motd.sh +chown root:root motd.sh chmod +x motd.sh echo "Installing rpi-update" From 8f7b3cd87f32b2963affdd10b0b3372d0142748d Mon Sep 17 00:00:00 2001 From: wikijm Date: Tue, 27 Oct 2015 07:21:07 +0100 Subject: [PATCH 5/7] Add root password definition --- raspberry-bootstrap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/raspberry-bootstrap b/raspberry-bootstrap index d1375d4..c365907 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -102,5 +102,8 @@ sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin echo "Updating firmware" sudo rpi-update +echo "Define root password" +sudo passwd root + echo "Rebooting Raspberry" sudo reboot From 27e06fc5f15a18791504d534d6db6b7998c363d4 Mon Sep 17 00:00:00 2001 From: wikijm Date: Tue, 27 Oct 2015 07:31:16 +0100 Subject: [PATCH 6/7] Modification of URL to call script --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05cbca3..9d3d5fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -raspberry +Raspberry-bootstrap ========= First script to run after setting up SD for Raspberry Pi @@ -13,5 +13,5 @@ Usage From your home directory (/home/pi/) -curl -Lo- http://raw.github.com/rlowe/raspberry/master/raspberry-bootstrap | bash +curl -Lo- https://raw.githubusercontent.com/wikijm/raspberry-bootstrap/master/raspberry-bootstrap | bash From 6b5589cd5d93da84aefe87d122eaee18bdbdc01d Mon Sep 17 00:00:00 2001 From: PGP 2F93D5AF Date: Tue, 3 May 2016 14:31:09 +0200 Subject: [PATCH 7/7] Delete root password definition --- raspberry-bootstrap | 3 --- 1 file changed, 3 deletions(-) diff --git a/raspberry-bootstrap b/raspberry-bootstrap index c365907..d1375d4 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -102,8 +102,5 @@ sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin echo "Updating firmware" sudo rpi-update -echo "Define root password" -sudo passwd root - echo "Rebooting Raspberry" sudo reboot