commit
dd1a885a5a
|
@ -10,32 +10,27 @@ rm -rf "${ROOTFS_DIR}"
|
||||||
mkdir -p "${ROOTFS_DIR}"
|
mkdir -p "${ROOTFS_DIR}"
|
||||||
|
|
||||||
BOOT_SIZE="$((256 * 1024 * 1024))"
|
BOOT_SIZE="$((256 * 1024 * 1024))"
|
||||||
TOTAL_SIZE=$(du --apparent-size -s "${EXPORT_ROOTFS_DIR}" --exclude var/cache/apt/archives --block-size=1 | cut -f 1)
|
ROOT_SIZE=$(du --apparent-size -s "${EXPORT_ROOTFS_DIR}" --exclude var/cache/apt/archives --exclude boot --block-size=1 | cut -f 1)
|
||||||
|
|
||||||
ROUND_SIZE="$((4 * 1024 * 1024))"
|
# All partition sizes and starts will be aligned to this size
|
||||||
ROUNDED_ROOT_SECTOR=$(((BOOT_SIZE + ROUND_SIZE) / ROUND_SIZE * ROUND_SIZE / 512 + 8192))
|
ALIGN="$((4 * 1024 * 1024))"
|
||||||
IMG_SIZE=$(((BOOT_SIZE + TOTAL_SIZE + (800 * 1024 * 1024) + ROUND_SIZE - 1) / ROUND_SIZE * ROUND_SIZE))
|
# Add this much space to the calculated file size. This allows for
|
||||||
|
# some overhead (since actual space usage is usually rounded up to the
|
||||||
|
# filesystem block size) and gives some free space on the resulting
|
||||||
|
# image.
|
||||||
|
ROOT_MARGIN=$((800*1024*1024))
|
||||||
|
|
||||||
|
BOOT_PART_START=$((ALIGN))
|
||||||
|
BOOT_PART_SIZE=$(((BOOT_SIZE + ALIGN - 1) / ALIGN * ALIGN))
|
||||||
|
ROOT_PART_START=$((BOOT_PART_START + BOOT_PART_SIZE))
|
||||||
|
ROOT_PART_SIZE=$(((ROOT_SIZE + ROOT_MARGIN + ALIGN - 1) / ALIGN * ALIGN))
|
||||||
|
IMG_SIZE=$((BOOT_PART_START + BOOT_PART_SIZE + ROOT_PART_SIZE))
|
||||||
|
|
||||||
truncate -s "${IMG_SIZE}" "${IMG_FILE}"
|
truncate -s "${IMG_SIZE}" "${IMG_FILE}"
|
||||||
fdisk -H 255 -S 63 "${IMG_FILE}" <<EOF
|
|
||||||
o
|
|
||||||
n
|
|
||||||
|
|
||||||
|
parted --script "${IMG_FILE}" mklabel msdos
|
||||||
8192
|
parted --script "${IMG_FILE}" unit B mkpart primary fat32 "${BOOT_PART_START}" "$((BOOT_PART_START + BOOT_PART_SIZE - 1))"
|
||||||
+$((BOOT_SIZE / 512))
|
parted --script "${IMG_FILE}" unit B mkpart primary ext4 "${ROOT_PART_START}" "$((ROOT_PART_START + ROOT_PART_SIZE - 1))"
|
||||||
p
|
|
||||||
t
|
|
||||||
c
|
|
||||||
n
|
|
||||||
|
|
||||||
|
|
||||||
${ROUNDED_ROOT_SECTOR}
|
|
||||||
|
|
||||||
|
|
||||||
p
|
|
||||||
w
|
|
||||||
EOF
|
|
||||||
|
|
||||||
PARTED_OUT=$(parted -sm "${IMG_FILE}" unit b print)
|
PARTED_OUT=$(parted -sm "${IMG_FILE}" unit b print)
|
||||||
BOOT_OFFSET=$(echo "$PARTED_OUT" | grep -e '^1:' | cut -d':' -f 2 | tr -d B)
|
BOOT_OFFSET=$(echo "$PARTED_OUT" | grep -e '^1:' | cut -d':' -f 2 | tr -d B)
|
||||||
|
|
|
@ -1,8 +1,46 @@
|
||||||
UNRELEASED:
|
UNRELEASED:
|
||||||
|
* rpi-eeprom included
|
||||||
|
- This will automatically update the SPI EEPROM on the Raspberry Pi 4 to the latest stable version.
|
||||||
|
See https://rpf.io/eeprom for more information.
|
||||||
|
* New icon theme for file manager icons
|
||||||
|
* Appearance Settings - option for identical desktop on both monitors
|
||||||
|
* Appearance Settings - option to show different desktop icons on both monitors
|
||||||
|
* Taskbar automatically moved to monitor 0 if monitor 1 not found at boot
|
||||||
|
* Switching of audio output between two HDMI devices added to volume plugin
|
||||||
|
* Switching of audio input devices added to volume plugin
|
||||||
|
* .asoundrc (ALSA config file) now uses 'plug' values to support more devices
|
||||||
|
* Audio Settings tool modified to integrate more closely with volume plugin to reduce duplicated code
|
||||||
|
* Screen Configuration tool now shows separate menus for resolution and refresh rate
|
||||||
|
* Primary and active monitor settings removed from Screen Configuration tool
|
||||||
|
* Overscan support added for FKMS driver
|
||||||
|
* New keyboard shortcuts added - Ctrl-Alt-End brings up shutdown menu; Ctrl-Alt-M moves taskbar between monitors
|
||||||
|
* Latest changes to Bluez ALSA interface integrated to improve connection to Bluetooth audio devices
|
||||||
|
* Mousepad used as simple text editor instead of leafpad
|
||||||
|
* Version 3.2 of Thonny added
|
||||||
|
* Version 74 of Chromium added
|
||||||
|
* Version 3.0.8 of VLC added
|
||||||
|
* Version 32.0.0.255 of Flash player added
|
||||||
|
* Version 6.5.0 of RealVNC Server added
|
||||||
|
* Version 6.19.715 of RealVNC Viewer added (full image only)
|
||||||
|
* Version 12.0.1 of Mathematica added (full image only)
|
||||||
|
* Version 0.20.8 of NodeRED added (full image only)
|
||||||
|
* Version 3.1.0 of Sonic Pi added (full image only)
|
||||||
|
* Scratch 3 added (full image only)
|
||||||
|
* Bug fix - URL handling in Terminal
|
||||||
|
* Bug fix - octal values in SSIDs in network plugin
|
||||||
|
* Bug fix - remaining value in progress bar when transferring files
|
||||||
|
* Bug fix - integration of xarchiver tool with file manager
|
||||||
|
* Bug fix - start menu opening on incorrect monitor
|
||||||
|
* Bug fix - minimised applications wrongly displayed on taskbar on second monitor
|
||||||
|
* Bug fix - Bluetooth icon disappearing on x86 platforms when Bluetooth turned off
|
||||||
|
* Bug fix - Screen Configuration tool not shown on x86 platforms and settings not being saved
|
||||||
|
* Various translation updates
|
||||||
|
* Various minor bug fixes
|
||||||
* Epiphany/Web removed
|
* Epiphany/Web removed
|
||||||
* ntfs-3g included
|
* ntfs-3g included
|
||||||
* Scratch 3 added to full image
|
|
||||||
* pciutils added
|
* pciutils added
|
||||||
|
* Linux kernel 4.19.71
|
||||||
|
* Raspberry Pi firmware 04ddd4957d470528d7b26ea00a37d8fe2f1e2db7
|
||||||
2019-07-10:
|
2019-07-10:
|
||||||
* Clearer options for switching of Pi 4 video output in Raspberry Pi Configuration
|
* Clearer options for switching of Pi 4 video output in Raspberry Pi Configuration
|
||||||
* Option added to Appearance Settings to move taskbar to second monitor
|
* Option added to Appearance Settings to move taskbar to second monitor
|
||||||
|
|
|
@ -47,8 +47,9 @@
|
||||||
#dtparam=i2s=on
|
#dtparam=i2s=on
|
||||||
#dtparam=spi=on
|
#dtparam=spi=on
|
||||||
|
|
||||||
# Uncomment this to enable the lirc-rpi module
|
# Uncomment this to enable infrared communication.
|
||||||
#dtoverlay=lirc-rpi
|
#dtoverlay=gpio-ir,gpio_pin=17
|
||||||
|
#dtoverlay=gpio-ir-tx,gpio_pin=18
|
||||||
|
|
||||||
# Additional overlays and parameters are documented /boot/overlays/README
|
# Additional overlays and parameters are documented /boot/overlays/README
|
||||||
|
|
||||||
|
|
|
@ -27,3 +27,4 @@ ethtool
|
||||||
vl805fw
|
vl805fw
|
||||||
ntfs-3g
|
ntfs-3g
|
||||||
pciutils
|
pciutils
|
||||||
|
rpi-eeprom
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
xserver-xorg-video-fbdev xserver-xorg xinit xserver-xorg-video-fbturbo
|
xserver-xorg-video-fbdev xserver-xorg xinit xserver-xorg-video-fbturbo
|
||||||
|
mousepad
|
||||||
lxde lxtask menu-xdg
|
lxde lxtask menu-xdg
|
||||||
zenity xdg-utils
|
zenity xdg-utils
|
||||||
gvfs-backends gvfs-fuse
|
gvfs-backends gvfs-fuse
|
||||||
|
|
Loading…
Reference in New Issue
Block a user