+some tools / updates for preos
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								909c58de4e
							
						
					
				
			
			
				commit
				
					
						a0aba11e77
					
				
			
		
					 3 changed files with 12 additions and 2 deletions
				
			
		
							
								
								
									
										3
									
								
								hacking/README
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								hacking/README
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
- Target: 
 | 
			
		||||
    - get working iso
 | 
			
		||||
    - have it configured and gathered by cdist?
 | 
			
		||||
							
								
								
									
										4
									
								
								hacking/bin_to_pkg.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								hacking/bin_to_pkg.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
abspath=$(command -v "$1")
 | 
			
		||||
pacman -Qoq "$abspath"
 | 
			
		||||
| 
						 | 
				
			
			@ -6,10 +6,13 @@
 | 
			
		|||
 | 
			
		||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin
 | 
			
		||||
 | 
			
		||||
bin_list="fdisk 
 | 
			
		||||
pkg="
 | 
			
		||||
 | 
			
		||||
for command in command_list;
 | 
			
		||||
bin_list="fdisk mount"
 | 
			
		||||
 | 
			
		||||
for bin in command_list; do
 | 
			
		||||
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
exit 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue