mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-04 10:54:07 +00:00 
			
		
		
		
	make the /etc/mtab link relative in snappy (LP: #1547033)
This commit is contained in:
		
							parent
							
								
									12f8686c29
								
							
						
					
					
						commit
						16f26af920
					
				
							
								
								
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@ -1,3 +1,9 @@
 | 
			
		||||
livecd-rootfs (2.393) UNRELEASED; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * actually make the /etc/mtab link relative (LP: #1547033)
 | 
			
		||||
 | 
			
		||||
 -- Oliver Grawert <ogra@ubuntu.com>  Thu, 24 Mar 2016 13:27:01 +0100
 | 
			
		||||
 | 
			
		||||
livecd-rootfs (2.392) xenial; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * move mtab link to point to /proc/self/mounts instead of /proc/mounts
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
echo "creating mtab and modules dir" >&2
 | 
			
		||||
ln -sf /proc/self/mounts /etc/mtab
 | 
			
		||||
ln -sf ../proc/self/mounts /etc/mtab
 | 
			
		||||
mkdir -p /lib/modules
 | 
			
		||||
mkdir -p /lib/firmware
 | 
			
		||||
mkdir -p /writable
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user