bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. Re: Custom Kali Linux Build Help - Build error - probs with
GPG (Chris)
----------------------------------------------------------------------
Message: 1
Date: Mon, 05 Dec 2016 17:16:31 +0000
From: Chris <cshorler@googlemail.com>
To: David Fear <david@dfear.co.uk>, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>, David Fear via Bristol
<bristol@mailman.lug.org.uk>, Bristol & Bath lug
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Custom Kali Linux Build Help - Build error -
probs with GPG
Message-ID: <C90CF140-4A1A-4E90-82D8-1B17365F01A9@googlemail.com>
Content-Type: text/plain; charset=UTF-8
On 4 December 2016 20:30:47 GMT+00:00, David Fear via Bristol <bristol@mailman.lug.org.uk> wrote:
>Hi
>
>I am trying to create a custom Kali live-cd, but have been having a few
>
>problems.
>
>Does anyone have experience building custom Kali ISOs or for that
>matter, custom debian live/install ISOs with debian live-build tool?
>
>I have posted my issue on the Kali Linux forum (well at least I think I
>
>did), so I have quoted the post I made there below:
>
>> Hi
>>
>> I am trying to create a custom Kali live-cd with a few extra
>packages, some of which are not in the kali repos or available as a
>deb. The one piece of software that is causing the the most problems
>is: FreeFileSync. I can use it in the virtualbox image by downloading
>and extracting FreeFileSync_8.6_Debian_8.6_64-bit.tar.gz (which comes
>from the official website) and by installing downloading and installing
>libpng12-0_1.2.50-2+deb8u2_amd64.deb (which comes from the debian repo,
>but is manually downloaded).
>>
>> In order to have this program included in my custom live-cd I have
>done the following:
>>
>> [CODE]
>> wget
>http://*******.co.uk/freefilesync/FreeFileSync_8.6_Debian_8.6_64-bit.tar.gz
>> wget
>http://*******.co.uk/freefilesync/freefilesync-extra-files.tar.gz
>> tar zxvf FreeFileSync_8.6_Debian_8.6_64-bit.tar.gz
>>
>> cd FreeFileSync
>> mkdir -p
>/root/live-build-config/kali-config/common/includes.chroot/usr/bin
>> mkdir -p
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/doc/FreeFileSync
>> mkdir -p
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/Help
>> mkdir -p
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/Languages
>>
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/doc/FreeFileSync/
> ./CHANGELOG
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/
>./Help
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/doc/FreeFileSync/
> ./LICENSE
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/
>./ding.wav
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/
>./gong.wav
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/
>./Languages
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/bin/
>./RealTimeSync
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/bin/
>./FreeFileSync
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/
>./harp.wav
>> cp -r -t
>/root/live-build-config/kali-config/common/includes.chroot/usr/share/FreeFileSync/
>./Resources.zip
>>
>> cd ..
>> tar zxvf freefilesync-extra-files.tar.gz -C
>/root/live-build-config/kali-config/common/includes.chroot/
>> rm -rf FreeFileSync
>> rm -f FreeFileSync_8.6_Debian_8.6_64-bit.tar.gz
>freefilesync-extra-files.tar.gz
>> [/CODE]
>>
>> and I have copied it's dependency
>(libpng12-0_1.2.50-2+deb8u2_amd64.deb) to config/packages.chroot
>>
>> when i run the build.sh file
>> ex. [CODE]time ./build.sh --distribution kali-rolling --variant
>gnome.custom --verbose[/CODE]
>>
>> it fails with the following error:
>>
>> [CODE]
>> [2016-12-04 14:45:12] lb chroot_archives chroot install
>> P: Configuring file /etc/apt/sources.list
>> gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
>> gpg: keybox '/root/.gnupg/pubring.kbx' created
>> gpg: agent_genkey failed: Inappropriate ioctl for device
>> gpg: key generation failed: Inappropriate ioctl for device
>> gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
>> gpg: no default secret key: No secret key
>> gpg: signing failed: No secret key
>> P: Begin unmounting filesystems...
>> P: Saving caches...
>> Reading package lists...
>> Building dependency tree...
>> Build of kali-rolling/gnome.custom/amd64 live image failed (see
>build.log for details)
>> [/CODE]
>>
>> Can anyone help?
>
>
>The contents of my packages file (kali.list.chroot) is:
>
>> # You always want those
>> kali-linux
>> kali-desktop-live
>>
>> # Kali applications
>>
>> # You can customize the set of Kali applications to install
>> # (-full is the default, -all is absolutely everything, the rest
>> # corresponds to various subsets)
>> # kali-linux-full
>> # kali-linux-all
>> # kali-linux-sdr
>> # kali-linux-gpu
>> # kali-linux-wireless
>> # kali-linux-web
>> kali-linux-forensic
>> # kali-linux-voip
>> # kali-linux-pwtools
>> # kali-linux-top10
>> # kali-linux-rfid
>>
>> # Graphical desktop
>> kali-desktop-gnome
>>
>> # Debian archive keyring
>> debian-archive-keyring
>>
>> # Other applications
>> synaptic
>> #FreeFileSync
>> gsmartcontrol
>> cmospwd
>> chntpw
>> kpartx
>> #libpng12-0
>
>
>Does anyone have a clue why the build fails, because I don't?
>
>
>
>--
>Regards
>
>-----------------------------------
>Dave Fear :: david@dfear.co.uk
>
>Order your free giffgaff SIM card through my page and get 5 pounds free
>
>credit http://t.co/z1KJF5y
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol
Probably because something didn't get bind mounted for the chroot looking at what you posted?
------------------------------
Subject: Digest Footer
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
End of Bristol Digest, Vol 672, Issue 2
***************************************
Tidak ada komentar:
Posting Komentar