Fix dots and typos

This commit is contained in:
Ben Wilson
2021-09-16 06:58:38 +01:00
parent fb4ed55917
commit ab30b38f72
37 changed files with 870 additions and 874 deletions

View File

@@ -26,7 +26,7 @@ desktop=${desktop:-"xfce"}
# Load common variables
include variables
# Checks script enviroment
# Checks script environment
include check
# Packages build list
include packages
@@ -49,7 +49,7 @@ set_hostname "${hostname}"
# Network configs
include network
add_interface eth0
# Copy directory bsp into build dir.
# Copy directory bsp into build dir
cp -rp bsp "${work_dir}"
# Third stage
@@ -77,7 +77,7 @@ cp -p /bsp/services/rpi/*.service /etc/systemd/system/
eatmydata apt-get install -y linux-image-armmp u-boot-menu u-boot-sunxi
# Regenerated the shared-mime-info database on the first boot
# since it fails to do so properly in a chroot.
# since it fails to do so properly in a chroot
systemctl enable smi-hack
# Copy script rpi-resizerootfs
@@ -108,7 +108,7 @@ sed -i -e 's/REGDOM.*/REGDOMAIN=00/g' /etc/default/crda
echo "T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100" >> /etc/inittab
# Try and make the console a bit nicer
# Set the terminus font for a bit nicer display.
# Set the terminus font for a bit nicer display
sed -i -e 's/FONTFACE=.*/FONTFACE="Terminus"/' /etc/default/console-setup
sed -i -e 's/FONTSIZE=.*/FONTSIZE="6x12"/' /etc/default/console-setup
@@ -133,25 +133,25 @@ systemd-nspawn_exec /third-stage
set_locale "$locale"
# Clean system
include clean_system
# Define DNS server after last running systemd-nspawn.
# Define DNS server after last running systemd-nspawn
echo "nameserver 8.8.8.8" >"${work_dir}"/etc/resolv.conf
# Disable the use of http proxy in case it is enabled.
# Disable the use of http proxy in case it is enabled
disable_proxy
# Mirror & suite replacement
restore_mirror
# Reload sources.list
#include sources.list
# Create an fstab so that we don't mount / read-only.
# Create an fstab so that we don't mount / read-only
UUID=$(blkid -s UUID -o value ${rootp})
echo "UUID=$UUID / $fstype errors=remount-ro 0 1" >> ${work_dir}/etc/fstab
# Calculate the space to create the image and create.
# Calculate the space to create the image and create
make_image
# Enable the serial console
echo "T1:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100" >> ${work_dir}/etc/inittab
# Load the ethernet module since it doesn't load automatically at boot.
# Load the ethernet module since it doesn't load automatically at boot
echo "sunxi_emac" >> ${work_dir}/etc/modules
mkdir -p ${work_dir}/etc/X11/xorg.conf.d/
@@ -159,7 +159,7 @@ cp "${basedir}"/../bsp/xorg/20-fbdev.conf ${work_dir}/etc/X11/xorg.conf.d/
# Build system will insert it's root filesystem into the extlinux.conf file so
# we sed it out, this only affects build time, not upgrading the kernel on the
# device itself.
# device itself
sed -i -e 's/append.*/append console=ttyS0,115200 console=tty1 root=\/dev\/mmcblk0p1 rootwait panic=10 rw rootfstype=$fstype net.ifnames=0/g' ${work_dir}/boot/extlinux/extlinux.conf
parted -s ${current_dir}/${imagename}.img mklabel msdos
@@ -183,7 +183,7 @@ mkfs $features -t $fstype -L ROOTFS ${rootp}
mkdir -p ${basedir}/root
mount ${rootp} ${basedir}/root
# Create an fstab so that we don't mount / read-only.
# Create an fstab so that we don't mount / read-only
UUID=$(blkid -s UUID -o value ${rootp})
echo "UUID=$UUID / $fstype errors=remount-ro 0 1" >> ${work_dir}/etc/fstab
@@ -205,6 +205,6 @@ losetup -d "${loopdevice}"
# Compress image compilation
include compress_img
# Clean up all the temporary build stuff and remove the directories.
# Comment this out to keep things around if you want to see what may have gone wrong.
# Clean up all the temporary build stuff and remove the directories
# Comment this out to keep things around if you want to see what may have gone wrong
clean_build