View Issue Details

IDProjectCategoryView StatusLast Update
0002727Kali LinuxKali Websites & Docspublic2018-01-29 13:58
Reportervanguard Assigned Tomuts  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2.0 
Summary0002727: Cannot build kali for other language
Description

Dear maintainers,

due to the changes from "lb config & lb build" to the new syntax
./build.sh --distribution sana --verbose, I found no way, to add parameters for
changing keyboard and default language (in my case German)

Is this a bug or do I have to add special commands to the ./build.sh command?

I tried the old lb build, but the build did not work correctly, whilst the new syntax worked correctly (but only English)

Best

Hans

Activities

rhertzog

rhertzog

2015-11-02 13:18

administrator   ~0004070

Actually you can pass custom live-build options. Do it that way:
./build.sh --distribution sana --verbose -- <your options here>

vanguard

vanguard

2015-11-02 15:35

reporter   ~0004071

Hi Raphael,

does it mean, I can add the same options to ./build.sh as I add to lb config?

I have now:

lb config -a i386 --bootappend-live "boot=live noconfig=sudo username=root hostname=kali ignore_uuid locales=de_DE.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys"

then

lb build

So must I now do so?

lb config -a i386 --bootappend-live "boot=live noconfig=sudo username=root hostname=kali ignore_uuid locales=de_DE.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys"

then

./build.sh --distribution sana --variant lxde --bootappend-live "boot=live noconfig=sudo username=root hostname=kali ignore_uuid locales=de_DE.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys"

The manual of live-build is makimg those things not clear and describes the only the old way. I will be happy for enlightenment!

Best

Hans

rhertzog

rhertzog

2015-11-02 15:58

administrator   ~0004072

You know build.sh is a simple shell script, you can read it :-)

The architecture option is handled by build.sh but not the --bootappend-live. Thus you need to put "--" before putting any unknown option that you want to forward to "lb config".

The correct call for you would be this one:
./build.sh --arch i386 --distribution sana --verbose -- --bootappend-live "boot=live noconfig=sudo username=root hostname=kali ignore_uuid locales=de_DE.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys"

(no need to call lb config beforehand)

rhertzog

rhertzog

2015-11-16 08:33

administrator   ~0004232

Reassigning to muts so that he can update the documentation on the website.

vanguard

vanguard

2016-05-12 05:36

reporter   ~0005240

In Kali 2016.1 and higher

./build.sh --arch i386 --distribution kali-rolling --variant lxde --verbose -- --bootappend-live "boot=live noconfig=sudo username=root hostname=kali ignore_uuid locales=de_DE.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys"

is working well!

I will try the "old" style (lb config --** , lb build) that is recommended by the live-build-manual again, so that apt-cacher-ng can be used again (the above ./build.sh-style starts with the command "lb clean --purge").

If that is working, I will report here, so that bugreport can be closed.

Hans

vanguard

vanguard

2016-08-24 16:45

reporter   ~0005669

Bug can be closed, I found a solution. Thank you for all the tips and hints!
The command lb is working, too, at the moment.

vanguard

vanguard

2017-09-21 13:56

reporter   ~0007388

It is working well at the moment.
So this bugreport can safely be closed.

Thank you for all the help!

Best

Hans

g0tmi1k

g0tmi1k

2018-01-29 13:58

administrator   ~0008324

Asked to be closed

Issue History

Date Modified Username Field Change
2015-11-02 10:32 vanguard New Issue
2015-11-02 12:57 rhertzog Assigned To => rhertzog
2015-11-02 12:57 rhertzog Status new => assigned
2015-11-02 13:18 rhertzog Note Added: 0004070
2015-11-02 15:35 vanguard Note Added: 0004071
2015-11-02 15:58 rhertzog Note Added: 0004072
2015-11-16 08:32 rhertzog Assigned To rhertzog => muts
2015-11-16 08:33 rhertzog Note Added: 0004232
2015-12-04 22:29 alexhj451 Issue cloned: 0002920
2016-05-12 05:36 vanguard Note Added: 0005240
2016-08-24 16:45 vanguard Note Added: 0005669
2016-08-26 08:35 rhertzog Category General Bug => Kali Websites & Docs
2016-09-16 14:54 fox Issue cloned: 0003581
2017-09-21 13:56 vanguard Note Added: 0007388
2018-01-29 13:58 g0tmi1k Status assigned => closed
2018-01-29 13:58 g0tmi1k Resolution open => no change required
2018-01-29 13:58 g0tmi1k Note Added: 0008324