-
Notifications
You must be signed in to change notification settings - Fork 5
ArchLinuxUpgrades
Jacob Alexander edited this page Nov 6, 2017
·
4 revisions
This wiki describes how to update the manufacturing bundle on an Arch Linux flashing station.
- USB stick formatted as FAT32 or exFAT
-
kiibohd-manufacturing-*.pkg.tar.xz
package copied to the USB stick - Flashing station
- Turn on flashing station
- Internet access is required, ensure ethernet cable is plugged in
- Insert USB stick
- Login to flashing station (e.g.
flash/flash
for username/password) - Make sure package cache is up-to-date, run the following command
sudo pacman -Syu --noconfirm
- Mount USB stick and go to that path
sudo mkdir -p /mnt/usb
sudo mount /dev/sdb1 /mnt/usb
cd /mnt/usb
- Update flashing station using update package
- It should look something like
kiibohd-manufacturing-r53.966f042-1-x86_64.pkg.tar.xz
- It should look something like
sudo pacman -U <name of your update package> --noconfirm
- If successful, the flashing station is updated! You can now unmount the USB stick.
cd
sudo umount /mnt/usb
- Now you can remove the USB stick
# Login to Flashing Station
# Insert USB stick
# Make sure ethernet cable is plugged in
[flash@ICFlasher2017 ~]$ sudo pacman -Syu --noconfirm
:: Synchronizing package databases...
core 124.5 KiB 889K/s 00:00 [################################################] 100%
extra 1671.5 KiB 4.23M/s 00:00 [################################################] 100%
community 4.0 MiB 7.05M/s 00:01 [################################################] 100%
multilib is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (8) file-5.32-1 glm-0.9.8.5-1 lxc-1:2.1.0-1 ninja-1.8.1-1 postgresql-9.6.5-1 postgresql-libs-9.6.5-1 sudo-1.8.21.p1-3
vim-runtime-8.0.1066-1
Total Download Size: 16.96 MiB
Total Installed Size: 83.37 MiB
Net Upgrade Size: 1.47 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
file-5.32-1-x86_64 260.1 KiB 2001K/s 00:00 [################################################] 100%
sudo-1.8.21.p1-3-x86_64 976.0 KiB 7.75M/s 00:00 [################################################] 100%
postgresql-libs-9.6.5-1-x86_64 1137.6 KiB 9.58M/s 00:00 [################################################] 100%
postgresql-9.6.5-1-x86_64 5.8 MiB 12.0M/s 00:00 [################################################] 100%
vim-runtime-8.0.1066-1-x86_64 5.3 MiB 14.4M/s 00:00 [################################################] 100%
glm-0.9.8.5-1-any 3.0 MiB 14.9M/s 00:00 [################################################] 100%
lxc-1:2.1.0-1-x86_64 507.8 KiB 14.6M/s 00:00 [################################################] 100%
ninja-1.8.1-1-x86_64 91.6 KiB 12.8M/s 00:00 [################################################] 100%
(8/8) checking keys in keyring [################################################] 100%
(8/8) checking package integrity [################################################] 100%
(8/8) loading package files [################################################] 100%
(8/8) checking for file conflicts [################################################] 100%
(8/8) checking available disk space [################################################] 100%
:: Processing package changes...
(1/8) upgrading file [################################################] 100%
(2/8) upgrading glm [################################################] 100%
(3/8) upgrading lxc [################################################] 100%
(4/8) upgrading ninja [################################################] 100%
(5/8) upgrading postgresql-libs [################################################] 100%
(6/8) upgrading postgresql [################################################] 100%
(7/8) upgrading sudo [################################################] 100%
(8/8) upgrading vim-runtime [################################################] 100%
:: Running post-transaction hooks...
(1/2) Creating temporary files...
(2/2) Arming ConditionNeedsUpdate...
[flash@ICFlasher2017 ~]$ sudo mkdir -p /mnt/usb
[flash@ICFlasher2017 ~]$ sudo mount /dev/sdb1 /mnt/usb
[flash@ICFlasher2017 ~]$ cd /mnt/usb
[flash@ICFlasher2017 usb]$ ls
kiibohd-manufacturing-r53.966f042-1-x86_64.pkg.tar.xz
[flash@ICFlasher2017 usb]$ sudo pacman -U kiibohd-manufacturing-r53.966f042-1-x86_64.pkg.tar.xz --noconfirm
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) kiibohd-manufacturing-r53.966f042-1-x86_64
Total Installed Size: 122.80 MiB
Net Upgrade Size: -0.09 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [################################################] 100%
(1/1) checking package integrity [################################################] 100%
(1/1) loading package files [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
(1/1) checking available disk space [################################################] 100%
:: Processing package changes...
(1/1) upgrading kiibohd-manufacturing [################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[flash@ICFlasher2017 usb]$ cd
[flash@ICFlasher2017 ~]$ sudo umount /mnt/usb
# Remove USB stick