improved determinism
This commit is contained in:
		
							parent
							
								
									dc3fe69bc8
								
							
						
					
					
						commit
						6b883721bd
					
				
					 6 changed files with 11 additions and 2432 deletions
				
			
		| 
						 | 
				
			
			@ -102,6 +102,10 @@ If you need or want to update these config files, do the following:
 | 
			
		|||
$ ./build.sh --edit
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
this triggers the `make menuconfig` applications for linux/kernel/busybox
 | 
			
		||||
 | 
			
		||||
> NOTE: to save your changes to the repo: run `make savedefconfig` afterwards and commit `buildroot/configs` 
 | 
			
		||||
 | 
			
		||||
## method 2 (manually)
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -9,6 +9,8 @@ echo "Created v86-linux.iso."
 | 
			
		|||
# Prepare license info. Start with Seabios, then buildroot's
 | 
			
		||||
wget https://raw.githubusercontent.com/coreboot/seabios/master/COPYING.LESSER \
 | 
			
		||||
    -O ${BASE_DIR}/SeaBIOS_COPYING.LESSER
 | 
			
		||||
 | 
			
		||||
mkdir ${BASE_DIR}/legal-info || true 
 | 
			
		||||
tar czvf /build/licenses.tar.gz \
 | 
			
		||||
    ${BASE_DIR}/SeaBIOS_COPYING.LESSER \
 | 
			
		||||
    ${BASE_DIR}/legal-info/buildroot.config \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -13,6 +13,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 | 
			
		|||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.172"
 | 
			
		||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 | 
			
		||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_v86_PATH)/board/v86/linux.config"
 | 
			
		||||
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL}/configs/busybox.config"
 | 
			
		||||
BR2_PACKAGE_ZIP=y
 | 
			
		||||
BR2_PACKAGE_LUA=y
 | 
			
		||||
BR2_PACKAGE_MICROPYTHON=y
 | 
			
		||||
| 
						 | 
				
			
			@ -20,7 +21,11 @@ BR2_PACKAGE_ZLIB=y
 | 
			
		|||
BR2_PACKAGE_LIBFUSE3=y
 | 
			
		||||
BR2_PACKAGE_GMP=y
 | 
			
		||||
BR2_PACKAGE_SCREEN=y
 | 
			
		||||
BR2_PACKAGE_ATTR=y
 | 
			
		||||
BR2_PACKAGE_MG=y
 | 
			
		||||
BR2_TARGET_ROOTFS_EXT2=y
 | 
			
		||||
BR2_TARGET_ROOTFS_EXT2_4=y
 | 
			
		||||
BR2_TARGET_ROOTFS_EXT2_SIZE="9M"
 | 
			
		||||
BR2_TARGET_ROOTFS_INITRAMFS=y
 | 
			
		||||
BR2_TARGET_ROOTFS_ISO9660=y
 | 
			
		||||
BR2_TARGET_SYSLINUX=y
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								edit.sh
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								edit.sh
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,15 +1,9 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
set -e
 | 
			
		||||
make BR2_EXTERNAL=/buildroot-v86 v86_defconfig
 | 
			
		||||
mkdir output/legal-info && touch output/legal-info/{host-licenses,licenses,buildroot.config}
 | 
			
		||||
 | 
			
		||||
make menuconfig
 | 
			
		||||
 | 
			
		||||
test -d output/build/busybox-1.33.0 || mkdir -p output/build/busybox-1.33.0
 | 
			
		||||
cp /buildroot-v86/.config.busybox output/build/busybox-1.*/.config
 | 
			
		||||
make busybox-menuconfig
 | 
			
		||||
cp output/build/busybox-1.*/.config /buildroot-v86/.config.busybox
 | 
			
		||||
 | 
			
		||||
make linux-menuconfig
 | 
			
		||||
make savedefconfig
 | 
			
		||||
make linux-savedefconfig
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue