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

Re-using live-helper cache [was: Presetting keyboard layout]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Mar 24, 2008 at 08:50:01PM +0100, Daniel Baumann wrote:
> tomas at tuxteam.de wrote:
> > Can I re-use that? Does an lh_clean followed by lh_build make sense?
> 
> would work, but probably not result in the expected result, don't know.

Thanks, this more or less describes it :-)

The locale setting was gone (I didn't bother to check whether it was
passed to the syslinux config -- most probably not).

I tried this (to see whether there is a cheap way to still re-use the
cache:

 | tomas at tingklik:~/dose-live$ sudo rm -Rf cache/stages_bootstrap
 | tomas at tingklik:~/dose-live$ sudo rm -Rf chroot binar binary.img config
 | tomas at tingklik:~/dose-live$ lh_config --bootappend-live "locale=de_DE.UTF-8 keyb=de"
 | tomas at tingklik:~/dose-live$ sudo lh_build

...but this ain't it:

 | P: Begin caching bootstrap stage...
 | W: skipping bootstrap_cache.restore
 | P: Begin bootstrapping system...
 | W: skipping bootstrap
 | P: Begin caching bootstrap stage...
 | W: skipping bootstrap_cache.save
 | P: Begin caching chroot stage...
 | P: Begin mounting /dev/pts...
 | P: Begin mounting /proc...
 | P: Begin mounting /sys...
 | P: Configuring file /etc/debian_chroot
 | /usr/bin/lh_chroot_debianchroot: line 59: chroot/etc/debian_chroot: No such file or directory

OK, OK. I know when to give up. Now starting off an empty directory :-)

Posted here for other curious souls.

I just don't know very much about lh yet to comment, but a more
"central" package cache/repository might make sense (especially when
building several variants of live images). It should be simple enough to
survive version changes of the lh machinery (and accomodate different
repositories). What do you think?

Regards
- -- tom?s
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFH6Lx2Bcgs9XrR2kYRAveUAJ9fZfoBN7T91aRet1DMjwJXZ8J88ACeIZBz
zgk2iBPzrvpqpmWXHC561r0=
=Dt3l
-----END PGP SIGNATURE-----



Reply to: