Jami Kettunen 
							
						 
					 
					
						
						
							
						
						4a43d3eee4 
					 
					
						
						
							
							Rename old ut distro option to ut16.04  
						
						 
						
						
						
						
					 
					
						2023-03-03 13:00:12 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jami Kettunen 
							
						 
					 
					
						
						
							
						
						f3bcc382bc 
					 
					
						
						
							
							README: Mention support for ut20.04 installation  
						
						 
						
						
						
						
					 
					
						2022-10-12 01:31:51 +03:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jami Kettunen 
							
						 
					 
					
						
						
							
						
						4ebed116aa 
					 
					
						
						
							
							Fix ut20.04 installation  
						
						 
						
						... 
						
						
						
						It was failing with the following:
  I: Running post installation tasks
  cp: not writing through dangling symlink '.halium-install-rootfs.9xdK4/etc/resolv.conf'
  I: Cleaning up
Investigating with "file" it turns out the file on the rootfs was a
"broken symbolic link to ../run/systemd/resolve/stub-resolv.conf", so
let's just make a backup before copying over the host resolv.conf and
restore it at the end. 
						
						
					 
					
						2022-10-12 00:38:50 +03:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ratchanan Srirattanamet 
							
						 
					 
					
						
						
							
						
						f96cf7c364 
					 
					
						
						
							
							Support ut20.04 images  
						
						 
						
						
						
						
					 
					
						2021-06-09 17:50:00 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ratchanan Srirattanamet 
							
						 
					 
					
						
						
							
						
						6fdbc73cb8 
					 
					
						
						
							
							Add an option to manually specify SSH key path  
						
						 
						
						
						
						
					 
					
						2021-06-09 17:48:13 +07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Florian Leeber 
							
						 
					 
					
						
						
							
						
						10405719c4 
					 
					
						
						
							
							Add replace-android-image script, can be later integrated into halium-install  
						
						 
						
						
						
						
					 
					
						2021-02-14 11:05:57 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Peter Putz 
							
						 
					 
					
						
						
							
						
						378adcee24 
					 
					
						
						
							
							fix failing on error  
						
						 
						
						... 
						
						
						
						Previously we piped to the command `cat > /dev/null` (or `cat -`). This meant the return value was always the return value of cat, hence everything was considered successful.
With this change, we just redirect to the file /dev/null or the file descriptor for stdout. Hence, if a function fails (returns a non-zero value) the script will actually terminate, as it should. 
						
						
					 
					
						2020-12-06 17:29:39 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Florian Leeber 
							
						 
					 
					
						
						
							
						
						059f2d8378 
					 
					
						
						
							
							Make the android partition symlinks in UT optional (fixes Halium 9 issue)  
						
						 
						
						
						
						
					 
					
						2020-12-06 18:17:36 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						e9ea4d9116 
					 
					
						
						
							
							ut: Also check for broken symlink when testing for /etc/mtab  
						
						 
						
						
						
						
					 
					
						2020-10-23 00:04:20 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						1c488e47b1 
					 
					
						
						
							
							Fix hardcoded path in ubuntu touch support code  
						
						 
						
						
						
						
					 
					
						2020-10-22 19:56:05 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Florian Leeber 
							
						 
					 
					
						
						
							
						
						a66411bcaa 
					 
					
						
						
							
							Revert "Fix /vendor => /system/vendor => /vendor loop for devices with vendor partition"  
						
						 
						
						... 
						
						
						
						This reverts commit c5ae509b61 . 
						
						
					 
					
						2020-10-20 17:45:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marius Gripsgard 
							
						 
					 
					
						
						
							
						
						45b350b037 
					 
					
						
						
							
							[UT] No need for .display-mir anymore  
						
						 
						
						... 
						
						
						
						This was removed some years ago, so not needed anymore 
						
						
					 
					
						2020-08-12 19:02:03 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alfred Neumayer 
							
						 
					 
					
						
						
							
						
						54729e0f46 
					 
					
						
						
							
							misc: Fix indentation  
						
						 
						
						
						
						
					 
					
						2020-04-15 19:05:32 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alfred Neumayer 
							
						 
					 
					
						
						
							
						
						20fe617964 
					 
					
						
						
							
							distributions: Add symlinks for Halium 9.0 compatibility  
						
						 
						
						
						
						
					 
					
						2020-04-15 15:29:21 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alfred Neumayer 
							
						 
					 
					
						
						
							
						
						e0095a01a7 
					 
					
						
						
							
							treewide: Add support for system-as-root installations  
						
						 
						
						... 
						
						
						
						The halium-initramfs has support for mounting the system image
as system-as-root, depending on its filename. Enable this. 
						
						
					 
					
						2020-04-15 15:27:13 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						8d2c5baa3d 
					 
					
						
						
							
							Fix standalone script  
						
						 
						
						
						
						
					 
					
						2020-03-21 17:33:54 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						bdfc1d7250 
					 
					
						
						
							
							Make sure not to deploy broken builds  
						
						 
						
						
						
						
					 
					
						2020-03-21 17:30:31 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Peter Putz 
							
						 
					 
					
						
						
							
						
						7df47ed62c 
					 
					
						
						
							
							Add optional compression -z  
						
						 
						
						... 
						
						
						
						Normally we just `adb push` the `.img` files. With this option we first compress the images on the host machine, then push and finally decompress on the device. The time to push goes down significantly and we spend a little extra time for de-/compression.
It could be that this trade off is device specific. I played with a few compression tools. `pigz` seemed to provide the best total time for me. On my setup the total time for `flash_img()` goes from from ca 14:12 to 5:42
Without compression
```
.halium-install-imgs.dYogm/rootfs.img: 1 file pushed. 3.8 MB/s (3221225472 bytes in 812.863s)
.halium-install-imgs.dYogm/system.img: 1 file pushed. 3.7 MB/s (151584768 bytes in 38.899s)
real	14m11,792s
user	0m0,674s
sys	0m4,238s
```
With compression
```
.halium-install-imgs.Pw6FU/rootfs.img.gz: 1 file pushed. 3.8 MB/s (649476288 bytes in 161.334s)
.halium-install-imgs.Pw6FU/system.img.gz: 1 file pushed. 3.9 MB/s (78788455 bytes in 19.298s)
real	5m41,985s
user	2m16,681s
sys	0m6,789s
``` 
						
						
					 
					
						2020-01-18 18:55:52 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Florian Leeber 
							
						 
					 
					
						
						
							
						
						c5ae509b61 
					 
					
						
						
							
							Fix /vendor => /system/vendor => /vendor loop for devices with vendor partition  
						
						 
						
						
						
						
					 
					
						2020-01-13 17:40:22 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						a0938a683a 
					 
					
						
						
							
							debian-pm-caf: Don't hardcode to buster  
						
						 
						
						
						
						
					 
					
						2019-10-12 23:44:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						f7134e6ac0 
					 
					
						
						
							
							functions: core: Make filesystem errors (which usually are automatically fixed) non-fatal  
						
						 
						
						
						
						
					 
					
						2019-10-10 13:57:00 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						5436cda534 
					 
					
						
						
							
							standalone: Workaround sed issue  
						
						 
						
						
						
						
					 
					
						2019-10-05 17:53:06 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						dd22c24a33 
					 
					
						
						
							
							dir mode: use dpkg-divert  
						
						 
						
						
						
						
					 
					
						2019-08-11 13:43:55 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						a1c8d9f91e 
					 
					
						
						
							
							Fix generating host ssh keys on debian-pm  
						
						 
						
						
						
						
					 
					
						2019-08-11 13:37:55 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						bd39c0eb30 
					 
					
						
						
							
							Document dir install mode  
						
						 
						
						
						
						
					 
					
						2019-08-11 09:51:05 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						9e46b6f4b8 
					 
					
						
						
							
							distributions: Increase image size for neon to 4GB  
						
						 
						
						... 
						
						
						
						Also affects debian-pm, but it contains roughly the same as neon and might need as much space soon. 
						
						
					 
					
						2019-08-11 09:28:55 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						f6fa922ef3 
					 
					
						
						
							
							Check for binutils dependency  
						
						 
						
						
						
						
					 
					
						2019-07-13 21:18:30 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Bruechert 
							
						 
					 
					
						
						
							
						
						ed2363d5c1 
					 
					
						
						
							
							tests: Small fixes  
						
						 
						
						
						
						
					 
					
						2019-07-13 19:09:37 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						2b64898141 
					 
					
						
						
							
							*.py: Make sure to use python3  
						
						 
						
						
						
						
					 
					
						2019-07-13 14:01:32 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						d90c4aa646 
					 
					
						
						
							
							Add syntax test  
						
						 
						
						
						
						
					 
					
						2019-07-13 13:58:33 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						3bf6684903 
					 
					
						
						
							
							Add test suite  
						
						 
						
						
						
						
					 
					
						2019-07-13 13:13:29 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						9b29898b1f 
					 
					
						
						
							
							Fix and comment dir mode  
						
						 
						
						
						
						
					 
					
						2019-07-13 10:57:22 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						efe61afb09 
					 
					
						
						
							
							Correct android image install path  
						
						 
						
						... 
						
						
						
						Source: https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium#L259  
						
						
					 
					
						2019-07-13 10:38:37 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						c947948e52 
					 
					
						
						
							
							Quote variables containing pathes  
						
						 
						
						... 
						
						
						
						Fixes  #24  
						
						
					 
					
						2019-06-08 22:46:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						27be6d27ee 
					 
					
						
						
							
							Make utils/standalone.sh executable  
						
						 
						
						... 
						
						
						
						Fixes  !25  
						
						
					 
					
						2019-06-08 22:36:04 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						39d96fc6e3 
					 
					
						
						
							
							Merge branch 'master' into 'master'  
						
						 
						
						... 
						
						
						
						distributions: Setup /odm symlink
See merge request JBBgameich/halium-install!27  
						
						
					 
					
						2019-05-31 18:17:47 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						61b46fbb02 
					 
					
						
						
							
							Fix confusing error message on exit  
						
						 
						
						... 
						
						
						
						* EXIT also seems to be emitted if the script exits normally 
						
						
					 
					
						2019-05-14 14:44:00 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alfred Neumayer 
							
						 
					 
					
						
						
							
						
						e38b913458 
					 
					
						
						
							
							distributions: Setup /odm symlink  
						
						 
						
						... 
						
						
						
						This is required on Sony devices like Xperia X. 
						
						
					 
					
						2019-05-13 17:39:57 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						35cb5d7c27 
					 
					
						
						
							
							Always enforce cleanup on exit  
						
						 
						
						
						
						
					 
					
						2019-05-07 16:06:21 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						263d6e9238 
					 
					
						
						
							
							Merge branch 'envpath-non-debian' into 'master'  
						
						 
						
						... 
						
						
						
						Workaround for PATH variables on non-Debian distributions.
See merge request JBBgameich/halium-install!26  
						
						
					 
					
						2019-04-24 13:30:46 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Danct12 
							
						 
					 
					
						
						
							
						
						9215bbb17e 
					 
					
						
						
							
							Workaround for PATH variables on non-Debian distributions.  
						
						 
						
						
						
						
					 
					
						2019-04-23 21:04:58 +07:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						46a3e1fb88 
					 
					
						
						
							
							Merge branch 'numeric-owners' into 'master'  
						
						 
						
						... 
						
						
						
						Preserve permissions and owner by GID
See merge request JBBgameich/halium-install!25  
						
						
					 
					
						2019-03-11 05:36:13 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dalton Durst 
							
						 
					 
					
						
						
							
						
						42d5b8882f 
					 
					
						
						
							
							Preserve permissions and owner by GID  
						
						 
						
						
						
						
					 
					
						2019-03-10 18:26:37 -05:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								doniks 
							
						 
					 
					
						
						
							
						
						fd8494d41a 
					 
					
						
						
							
							add -i flag which copies your personal ssh key into the image  
						
						 
						
						
						
						
					 
					
						2019-03-03 16:29:21 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								doniks 
							
						 
					 
					
						
						
							
						
						a9943b5e0f 
					 
					
						
						
							
							add -u and -r switches to set user and root passwords from commandline  
						
						 
						
						... 
						
						
						
						this way you don't have to wait for the interactive password dialog, but can let the script run unattended 
						
						
					 
					
						2019-03-03 16:29:21 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								doniks 
							
						 
					 
					
						
						
							
						
						84467f3ee8 
					 
					
						
						
							
							fix reference error and properly terminate on errors  
						
						 
						
						
						
						
					 
					
						2019-02-17 17:51:11 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						ca75cc30b6 
					 
					
						
						
							
							Merge branch 'dir-mode-support' into 'master'  
						
						 
						
						... 
						
						
						
						Add dir mode support
See merge request JBBgameich/halium-install!24  
						
						
					 
					
						2019-01-26 22:57:25 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						3c59307d75 
					 
					
						
						
							
							Update built-in help  
						
						 
						
						
						
						
					 
					
						2019-01-26 23:55:50 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						595bfabf02 
					 
					
						
						
							
							Only unmount if neccesary  
						
						 
						
						
						
						
					 
					
						2019-01-26 23:50:09 +01:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonah Brüchert 
							
						 
					 
					
						
						
							
						
						876ea1a9c3 
					 
					
						
						
							
							travis: Add shell lint job  
						
						 
						
						
						
						
					 
					
						2019-01-26 23:38:27 +01:00