mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-03 18:34:11 +00:00 
			
		
		
		
	Import patches-unapplied version 2.317 to ubuntu/wily-proposed
Imported using git-ubuntu import.
Changelog parent: 2342202959d18f52aacf8a20dd6afed76cf42196
New changelog entries:
  [ Sebastien Bacher ]
  * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
    - create other needed directories
  * live-build/ubuntu-desktop-next/includes.chroot:
    - copy ubuntu-core's include for /etc/hosts and resolv.conf config
  * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
    - copy touch hacks to create needed userdirs (lightdm & usermetrics),
      the users are added by the script and not the usual postinst so their
      uderdirs are not created as they should
  * live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
    - don't remove the copyright and manpages on desktop
  [ Oliver Grawert ]
  * allow install of "multi" click packages in 60-install-click.chroot on
    ubuntu-touch
			
			
This commit is contained in:
		
							parent
							
								
									2342202959
								
							
						
					
					
						commit
						bc2b9aed67
					
				
							
								
								
									
										20
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@ -1,3 +1,23 @@
 | 
			
		||||
livecd-rootfs (2.317) wily; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Sebastien Bacher ]
 | 
			
		||||
  * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
 | 
			
		||||
    - create other needed directories
 | 
			
		||||
  * live-build/ubuntu-desktop-next/includes.chroot:
 | 
			
		||||
    - copy ubuntu-core's include for /etc/hosts and resolv.conf config
 | 
			
		||||
  * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
 | 
			
		||||
    - copy touch hacks to create needed userdirs (lightdm & usermetrics),
 | 
			
		||||
      the users are added by the script and not the usual postinst so their
 | 
			
		||||
      uderdirs are not created as they should
 | 
			
		||||
  * live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
 | 
			
		||||
    - don't remove the copyright and manpages on desktop
 | 
			
		||||
 | 
			
		||||
  [ Oliver Grawert ]
 | 
			
		||||
  * allow install of "multi" click packages in 60-install-click.chroot on
 | 
			
		||||
    ubuntu-touch
 | 
			
		||||
 | 
			
		||||
 -- Sebastien Bacher <seb128@ubuntu.com>  Fri, 19 Jun 2015 10:52:07 +0200
 | 
			
		||||
 | 
			
		||||
livecd-rootfs (2.316) wily; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
 | 
			
		||||
 | 
			
		||||
@ -277,6 +277,18 @@ if [ -n "$ERRCNT" ]; then
 | 
			
		||||
        exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Create some missing directories
 | 
			
		||||
mkdir -p /var/lib/lightdm
 | 
			
		||||
chown lightdm:lightdm /var/lib/lightdm
 | 
			
		||||
chmod 750 /var/lib/lightdm
 | 
			
		||||
 | 
			
		||||
mkdir -p /var/lib/usermetrics
 | 
			
		||||
chown usermetrics:usermetrics /var/lib/usermetrics
 | 
			
		||||
chmod 750 /var/lib/usermetrics
 | 
			
		||||
 | 
			
		||||
echo "adjusting ownership of /var/log" >&2
 | 
			
		||||
chown root:syslog /var/log
 | 
			
		||||
ls -ln /var | grep log >&2
 | 
			
		||||
 | 
			
		||||
# Record the current state for later comparison
 | 
			
		||||
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do
 | 
			
		||||
 | 
			
		||||
@ -1,19 +1,5 @@
 | 
			
		||||
#!/bin/sh -x
 | 
			
		||||
 | 
			
		||||
echo "I: Remove unneeded files from /usr/share/doc "
 | 
			
		||||
find binary/boot/filesystem.dir/usr/share/doc -depth -type f ! -name copyright|xargs rm -f || true
 | 
			
		||||
find binary/boot/filesystem.dir/usr/share/doc -empty|xargs rmdir || true
 | 
			
		||||
find binary/boot/filesystem.dir/usr/share/doc -type f -exec gzip -9 {} \;
 | 
			
		||||
 | 
			
		||||
echo "I: Remove man/info pages"
 | 
			
		||||
rm -rf binary/boot/filesystem.dir/usr/share/man \
 | 
			
		||||
       binary/boot/filesystem.dir/usr/share/groff \
 | 
			
		||||
       binary/boot/filesystem.dir/usr/share/info \
 | 
			
		||||
       binary/boot/filesystem.dir/usr/share/lintian \
 | 
			
		||||
       binary/boot/filesystem.dir/usr/share/linda \
 | 
			
		||||
       binary/boot/filesystem.dir/var/cache/man
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
echo "I: Removing /var/lib/apt/lists/*"
 | 
			
		||||
find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,5 +2,7 @@
 | 
			
		||||
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
echo "writable mounts directory" >&2
 | 
			
		||||
echo "create needed directories" >&2
 | 
			
		||||
mkdir -p /lib/modules
 | 
			
		||||
mkdir -p /lib/firmware
 | 
			
		||||
mkdir -p /writable
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										9
									
								
								live-build/ubuntu-desktop-next/includes.chroot/etc/hosts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								live-build/ubuntu-desktop-next/includes.chroot/etc/hosts
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
127.0.0.1	localhost.localdomain	localhost
 | 
			
		||||
::1		localhost6.localdomain6	localhost6
 | 
			
		||||
 | 
			
		||||
# The following lines are desirable for IPv6 capable hosts
 | 
			
		||||
::1     localhost ip6-localhost ip6-loopback
 | 
			
		||||
fe00::0 ip6-localnet
 | 
			
		||||
ff02::1 ip6-allnodes
 | 
			
		||||
ff02::2 ip6-allrouters
 | 
			
		||||
ff02::3 ip6-allhosts
 | 
			
		||||
							
								
								
									
										1
									
								
								live-build/ubuntu-desktop-next/includes.chroot/etc/resolv.conf
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								live-build/ubuntu-desktop-next/includes.chroot/etc/resolv.conf
									
									
									
									
									
										Symbolic link
									
								
							@ -0,0 +1 @@
 | 
			
		||||
../run/resolvconf/resolv.conf
 | 
			
		||||
@ -25,7 +25,7 @@ CLICKARCH=$(dpkg --print-architecture)
 | 
			
		||||
wget --no-verbose -O "$tmpdir/click_list" "$click_list"
 | 
			
		||||
for package in $(cat "$tmpdir/click_list")
 | 
			
		||||
do
 | 
			
		||||
    if echo $package | egrep -q "_$CLICKARCH.click|_all.click|_unknown.click"; then
 | 
			
		||||
    if echo $package | egrep -q "_$CLICKARCH.click|_all.click|_unknown.click|_multi.click"; then
 | 
			
		||||
        echo "Setting up $package"
 | 
			
		||||
        wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package"
 | 
			
		||||
	# FIXME: first attempt, a hard-coded list of the packages that go to
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user