Merge tag '2018-11-13-raspbian-stretch' into yunohost-stretch
This commit is contained in:
commit
ce66addbca
8 changed files with 69 additions and 15 deletions
|
@ -31,7 +31,7 @@ To install the required dependencies for pi-gen you should run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt-get install quilt parted realpath qemu-user-static debootstrap zerofree pxz zip \
|
apt-get install quilt parted realpath qemu-user-static debootstrap zerofree pxz zip \
|
||||||
dosfstools bsdtar libcap2-bin grep rsync xz-utils file git
|
dosfstools bsdtar libcap2-bin grep rsync xz-utils file git curl
|
||||||
```
|
```
|
||||||
|
|
||||||
The file `depends` contains a list of tools needed. The format of this
|
The file `depends` contains a list of tools needed. The format of this
|
||||||
|
|
|
@ -13,8 +13,8 @@ tar -v -c -C files/marketing -f "${NOOBS_DIR}/marketing.tar" .
|
||||||
BOOT_SIZE="$(xz --robot -l "${NOOBS_DIR}/boot.tar.xz" | grep totals | cut -f 5)"
|
BOOT_SIZE="$(xz --robot -l "${NOOBS_DIR}/boot.tar.xz" | grep totals | cut -f 5)"
|
||||||
ROOT_SIZE="$(xz --robot -l "${NOOBS_DIR}/root.tar.xz" | grep totals | cut -f 5)"
|
ROOT_SIZE="$(xz --robot -l "${NOOBS_DIR}/root.tar.xz" | grep totals | cut -f 5)"
|
||||||
|
|
||||||
BOOT_SIZE="$(( BOOT_SIZE / 1000000 + 1))"
|
BOOT_SIZE="$(( BOOT_SIZE / 1024 / 1024 + 1))"
|
||||||
ROOT_SIZE="$(( ROOT_SIZE / 1000000 + 1))"
|
ROOT_SIZE="$(( ROOT_SIZE / 1024 / 1024 + 1))"
|
||||||
|
|
||||||
BOOT_NOM="$(( BOOT_SIZE * 3 ))"
|
BOOT_NOM="$(( BOOT_SIZE * 3 ))"
|
||||||
ROOT_NOM="$(( ROOT_SIZE + 400 ))"
|
ROOT_NOM="$(( ROOT_SIZE + 400 ))"
|
||||||
|
|
|
@ -29,7 +29,7 @@ if [ -f /settings/wpa_supplicant.conf ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! grep -q resize /proc/cmdline; then
|
if ! grep -q resize /proc/cmdline; then
|
||||||
sed -i 's| quiet init=/usr/lib/raspi-config/init_resize.sh||' /tmp/1/cmdline.txt
|
sed -i 's| init=/usr/lib/raspi-config/init_resize.sh||;s| quiet||2g' /tmp/1/cmdline.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
umount /tmp/1
|
umount /tmp/1
|
||||||
|
|
|
@ -1,6 +1,54 @@
|
||||||
UNRELEASED:
|
UNRELEASED:
|
||||||
* Add libav-tools
|
*
|
||||||
* Add English localisation packages
|
2018-11-13:
|
||||||
|
* Two versions of image created - "base" image has no optional software packages included; "full" image has all optional packages
|
||||||
|
- Removed from "base" image - LibreOffice, Thonny, Scratch, Scratch 2, Sonic Pi, Minecraft, Python Games, SmartSim, SenseHAT Emulator
|
||||||
|
- Added to "full" image - Mathematica, BlueJ, Greenfoot, Node-RED, Claws Mail, VNC Viewer
|
||||||
|
* Python Games and SmartSim added to Recommended Software
|
||||||
|
* VLC media player with VideoCore hardware acceleration included in image
|
||||||
|
* Version 3.0.5 of Thonny included
|
||||||
|
* Modifications to LXDE components to enable local configuration to override global configuration correctly
|
||||||
|
* Modifications to Appearance Settings to support above configuration changes
|
||||||
|
* Modifications to various initial config defaults and relevant package to support above configuration changes
|
||||||
|
* Selecting default option in Appearance Settings now deletes relevant local configuration files
|
||||||
|
* PiX theme modified so that all changes made in Appearance Settings are in override files rather than in theme files
|
||||||
|
* Design of scrollbar buttons changed
|
||||||
|
* Image Viewer moved into Graphics category on main menu
|
||||||
|
* Recommended Software now installs LibreOffice language support files if needed, and suggests reboot if needed
|
||||||
|
* Latest version of Pepper Flash plugin included
|
||||||
|
* Chromium h264ify plugin permissions set correctly by default
|
||||||
|
* Corrections to various MIME types so that files open in sensible default applications
|
||||||
|
* Set default timezone to 'Europe/London'
|
||||||
|
* Linux kernel 4.14.79
|
||||||
|
* Raspberry Pi firmware 12e0bf86e08d6067372bc0a45d7e8a10d3113210
|
||||||
|
2018-10-09:
|
||||||
|
* Raspberry Pi 3A+ support
|
||||||
|
* In startup wizard, assign keyboard to country as per Debian installer recommendations
|
||||||
|
* In startup wizard, add option to use US keyboard in preference to country-specific option
|
||||||
|
* In startup wizard, show IP address on first page
|
||||||
|
* In startup wizard, check for existing wifi network connection and show it if there is one
|
||||||
|
* In startup wizard, install language support packages for LibreOffice and other applications
|
||||||
|
* In startup wizard, improve operation with keyboard only and no mouse
|
||||||
|
* Password change in Raspberry Pi Configuration and startup wizard now works properly if passwords contain shell characters
|
||||||
|
* Battery indicator plugin modified to cope with Pi-top hardware monitor crashing
|
||||||
|
* Networking plugin hides wifi password characters by default
|
||||||
|
* In Scratch 2 GPIO plugin, set pin from dropdown list rather than free text
|
||||||
|
* In Scratch 2 SenseHAT plugin, swap x and y axis values for LED array
|
||||||
|
* Include latest Adobe Flash player (31.0.0.108)
|
||||||
|
* Include latest RealVNC Server (6.3.1)
|
||||||
|
* Include libav-tools
|
||||||
|
* Include ssh-import-id
|
||||||
|
* Removed Mathematica
|
||||||
|
* Merge in latest third-party code for Bluetooth ALSA interface
|
||||||
|
* Add ability to prevent software update changing configuration files, by creating ~/.config/.lock file
|
||||||
|
* Various other small bug fixes, tweaks and changes to text
|
||||||
|
* Make dhcpcd work with 3G devices
|
||||||
|
* Add hw acceleration to ffmpeg
|
||||||
|
* Improved WiFi-BT coexistence parameters
|
||||||
|
* Run fake-hwclock before systemd-fsck-root
|
||||||
|
* Raspberry Pi PoE HAT support
|
||||||
|
* Linux kernel 4.14.71
|
||||||
|
* Raspberry Pi firmware 5b49caa17e91d0e64024380119ad739bb201c674
|
||||||
2018-06-27:
|
2018-06-27:
|
||||||
* New first-boot configuration wizard added
|
* New first-boot configuration wizard added
|
||||||
* Recommended Software installer added
|
* Recommended Software installer added
|
||||||
|
|
|
@ -18,7 +18,10 @@ bootstrap(){
|
||||||
capsh --drop=cap_setfcap -- "${BOOTSTRAP_CMD}" --components=main,contrib,non-free \
|
capsh --drop=cap_setfcap -- "${BOOTSTRAP_CMD}" --components=main,contrib,non-free \
|
||||||
--arch armhf \
|
--arch armhf \
|
||||||
--keyring "${STAGE_DIR}/files/raspberrypi.gpg" \
|
--keyring "${STAGE_DIR}/files/raspberrypi.gpg" \
|
||||||
"$1" "$2" "$3" || rmdir "$2/debootstrap"
|
"$1" "$2" "$3" || true
|
||||||
|
if [ -d "$2/debootstrap" ]; then
|
||||||
|
rmdir "$2/debootstrap"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
export -f bootstrap
|
export -f bootstrap
|
||||||
|
|
||||||
|
@ -85,14 +88,14 @@ on_chroot() {
|
||||||
mount --bind /sys "${ROOTFS_DIR}/sys"
|
mount --bind /sys "${ROOTFS_DIR}/sys"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- "$@"
|
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
|
||||||
}
|
}
|
||||||
export -f on_chroot
|
export -f on_chroot
|
||||||
|
|
||||||
update_issue() {
|
update_issue() {
|
||||||
local GIT_HASH
|
local GIT_HASH
|
||||||
GIT_HASH=$(git rev-parse HEAD)
|
GIT_HASH=$(git rev-parse HEAD)
|
||||||
echo -e "Raspberry Pi reference ${IMG_DATE}\nGenerated using pi-gen, https://github.com/RPi-Distro/pi-gen, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue"
|
echo -e "YunoHost image for Raspberry Pi\nGenerated using https://github.com/YunoHost/rpi-image, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue"
|
||||||
}
|
}
|
||||||
export -f update_issue
|
export -f update_issue
|
||||||
|
|
||||||
|
|
|
@ -7,12 +7,6 @@ console-setup console-setup/codeset47 select Guess optimal character set
|
||||||
# Font for the console:
|
# Font for the console:
|
||||||
# Choices: Fixed, Goha, GohaClassic, Terminus, TerminusBold, TerminusBoldVGA, VGA, Do not change the boot/kernel font, Let the system select a suitable font
|
# Choices: Fixed, Goha, GohaClassic, Terminus, TerminusBold, TerminusBoldVGA, VGA, Do not change the boot/kernel font, Let the system select a suitable font
|
||||||
console-setup console-setup/fontface47 select Do not change the boot/kernel font
|
console-setup console-setup/fontface47 select Do not change the boot/kernel font
|
||||||
# Geographic area:
|
|
||||||
# Choices: Africa, America, Antarctica, Australia, Arctic Ocean, Asia, Atlantic Ocean, Europe, Indian Ocean, Pacific Ocean, System V timezones, US, None of the above
|
|
||||||
tzdata tzdata/Areas select Etc
|
|
||||||
# Time zone:
|
|
||||||
# Choices: GMT, GMT+0, GMT+1, GMT+10, GMT+11, GMT+12, GMT+2, GMT+3, GMT+4, GMT+5, GMT+6, GMT+7, GMT+8, GMT+9, GMT-0, GMT-1, GMT-10, GMT-11, GMT-12, GMT-13, GMT-14, GMT-2, GMT-3, GMT-4, GMT-5, GMT-6, GMT-7, GMT-8, GMT-9, GMT0, Greenwich, UCT, UTC, Universal, Zulu
|
|
||||||
tzdata tzdata/Zones/Etc select UTC
|
|
||||||
# Key to function as AltGr:
|
# Key to function as AltGr:
|
||||||
# Choices: The default for the keyboard layout, No AltGr key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Alt, Left Logo key, Keypad Enter key, Both Logo keys, Both Alt keys
|
# Choices: The default for the keyboard layout, No AltGr key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Alt, Left Logo key, Keypad Enter key, Both Logo keys, Both Alt keys
|
||||||
keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout
|
keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout
|
||||||
|
|
|
@ -22,3 +22,4 @@ rsync
|
||||||
htop
|
htop
|
||||||
man-db
|
man-db
|
||||||
policykit-1
|
policykit-1
|
||||||
|
ssh-import-id
|
||||||
|
|
8
stage2/03-set-timezone/02-run.sh
Executable file
8
stage2/03-set-timezone/02-run.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
echo "Europe/London" > "${ROOTFS_DIR}/etc/timezone"
|
||||||
|
rm "${ROOTFS_DIR}/etc/localtime"
|
||||||
|
|
||||||
|
on_chroot << EOF
|
||||||
|
dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
EOF
|
Loading…
Reference in a new issue