View Issue Details

IDProjectCategoryView StatusLast Update
0002133Kali LinuxGeneral Bugpublic2015-02-27 08:48
Reporterrhertzog Assigned Tosbrun  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionkali-dev 
Summary0002133: kali-rolling installation ends up with sources.list containing kali repositories instead of kali-rolling (same for kali-dev)
Description

We need to fix this so that the system installed with a kali-rolling ISO contains a sources.list file referencing kali-rolling and not kali (and the same applies to kali-dev).

This is currently hardcoded in the preseed.cfg file shipped by the debian-installer but it might be overridable with the kernel command line (mirror/suite=kali-rolling mirror/codename=kali-dev). If that turns out correct, we need to enhance live-build-config to inject those parameters on the corresponding kernel command lines.

We must also update or disable the security mirror added via the apt-setup/local0/repository preseed setting. For kali-rolling there's a security repository "http://security.kali.org/kali-security kali-rolling/updates main contrib non-free" but kali-dev doesn't have one.

Activities

rhertzog

rhertzog

2015-02-26 05:44

administrator   ~0003111

lb_config supports a --bootappend-install option to inject such options.

rhertzog

rhertzog

2015-02-26 18:01

administrator   ~0003115

This should be fixed in the latest live-build-config, still needs to be checked if it's working appropriately. We ended up generating config/includes.installer/preseed.cfg dynamically to override the static settings of preseed.cfg which is in the initrd. That's because the preseed set via kernel command line does not override the initrd's preseed.cfg (contrary to my earlier belief).

rhertzog

rhertzog

2015-02-27 08:48

administrator   ~0003116

Fixed with commit 288908fb0a1a984261263bb08bc653668ad472a3 in live-build-config.

Issue History

Date Modified Username Field Change
2015-02-26 05:08 rhertzog New Issue
2015-02-26 05:09 rhertzog Status new => assigned
2015-02-26 05:09 rhertzog Assigned To => sbrun
2015-02-26 05:44 rhertzog Note Added: 0003111
2015-02-26 18:01 rhertzog Note Added: 0003115
2015-02-27 08:48 rhertzog Note Added: 0003116
2015-02-27 08:48 rhertzog Status assigned => resolved
2015-02-27 08:48 rhertzog Resolution open => fixed
2015-11-09 13:44 Mr.Joe Issue cloned: 0002825