[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Initial "lb config" and "lb clean --purge"



Hello.

If you start from "scratch" running of "lb config" will create on sid the directory structure with "empty" auto/ and default settings in config/

# ---
root@sid:/tmp/live/xxx# ls -l auto/ config/
auto/:
insgesamt 0

config/:
insgesamt 28
drwxr-xr-x 2 root root   40 Okt  8 14:48 archives
-rw-r--r-- 1 root root 4165 Okt  8 14:48 binary
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_debian-installer
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_grub
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_rootfs
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_syslinux
-rw-r--r-- 1 root root 4841 Okt  8 14:48 bootstrap
-rw-r--r-- 1 root root 1044 Okt  8 14:48 chroot
drwxr-xr-x 2 root root   40 Okt  8 14:48 chroot_apt
-rw-r--r-- 1 root root 3159 Okt  8 14:48 common
drwxr-xr-x 2 root root   40 Okt  8 14:48 hooks
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes.binary
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes.binary_debian-installer
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes.chroot
drwxr-xr-x 2 root root   40 Okt  8 14:48 package-lists
drwxr-xr-x 2 root root   40 Okt  8 14:48 packages
drwxr-xr-x 2 root root   40 Okt  8 14:48 packages.binary
drwxr-xr-x 2 root root   40 Okt  8 14:48 packages.chroot
drwxr-xr-x 2 root root   40 Okt  8 14:48 preseed
-rw-r--r-- 1 root root  205 Okt  8 14:48 source
drwxr-xr-x 2 root root   40 Okt  8 14:48 templates
# ---

As there are no config, clean and build scripts in auto/ at this time, running "lb clean --purge" can *not* remove any config files from config/ (binary, bootstrap, chroot, common, source).

It is confusing for newcomers. They do "lb clean --purge" but it doesn't really remove config files from config/. I guess, that it would save a lot of questions on the list if initial "lb config" would create config, clean and build scripts in auto/.

Just my "two cents".

regards, Mark

--
ms@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


Reply to: