Control: tags 836819 +pending On 2016-09-06, Stefan Kisdaroczi wrote: > simple-cdd fails with custom installer. > log and patch attached.
Thanks for the patch! Applied to git, will include in upcoming upload: https://anonscm.debian.org/cgit/collab-maint/simple-cdd.git/commit/?id=3460e24f108d115dc2dd5e2ba5a072dddd46e308 live well, vagrant > rsync: mkdir "/tmp/cdd/tmp/mirror/dists/wheezy/main/installer-i386/current" > failed: No such file or directory (2) > rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1] > Traceback (most recent call last): > File "/usr/bin/build-simple-cdd", line 637, in <module> > scdd.build_mirror() > File "/usr/bin/build-simple-cdd", line 280, in build_mirror > self.get_custom_installer() > File "/usr/bin/build-simple-cdd", line 299, in get_custom_installer > subprocess.check_call(["rsync", "--delete", "-aWHr", os.path.join(di_dir, > "."), current_installer]) > File "/usr/lib/python3.5/subprocess.py", line 581, in check_call > raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '['rsync', '--delete', '-aWHr', > '../../d-i/i386/.', 'dists/wheezy/main/installer-i386/current/']' returned > non-zero exit status 11 > diff -uNrp simple-cdd-0.6.1.orig/build-simple-cdd > simple-cdd-0.6.1/build-simple-cdd > --- simple-cdd-0.6.1.orig/build-simple-cdd 2015-08-15 13:00:52.000000000 > +0200 > +++ simple-cdd-0.6.1/build-simple-cdd 2016-09-06 09:59:33.076688587 +0200 > @@ -295,7 +295,7 @@ class SimpleCDD: > > if os.path.isdir(di_dir): > log.info("using installer from: %s", di_dir) > - os.makedirs(di_dir, exist_ok=True) > + os.makedirs(current_installer, exist_ok=True) > subprocess.check_call(["rsync", "--delete", "-aWHr", > os.path.join(di_dir, "."), current_installer]) > > def compute_kernel_params(self):
signature.asc
Description: PGP signature