mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-10 04:37:29 +00:00
Imported using git-ubuntu import. Changelog parent: 197a5ea75104cda2c0d563cd504a51710be385ad New changelog entries: [ Michael Vogt ] * live-build/ubuntu-core/hooks/01-setup_user.chroot: - add default ubuntu user to "adm" and "sudo" groups [ Łukasz 'sil2100' Zemczak ] * Fix the previous apt list removal hook. This hook needs to be .binary as otherwise we're still left with apt lists when the image is published.
9 lines
308 B
Bash
Executable File
9 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# remove-lists: Remove all apt lists for space as our apport does not need them
|
|
#
|
|
# Author: Łukasz 'sil2100' Zemczak <achiang@canonical.com>
|
|
# Date : September 22, 2015
|
|
|
|
echo "Removing /var/lib/apt/lists/* from the binary"
|
|
find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f |