Code: Select all
echo -n 'some-distro-id-string' >> vmlinuz
You can also change DISTRO_ZDRVSFS='kernel-modules.sfs' in initrd/DISTRO_SPECS and etc/DISTRO_SPECS, then jiust have the kernel-modules.sfs in the same dir as initrd.gz.
Code: Select all
echo -n 'some-distro-id-string' >> vmlinuz
Thanks.stemsee wrote:to append id string to vmlinuz and kernel-modules.sfs dorepeat for kernel-modules.sfs.Code: Select all
echo -n 'some-distro-id-string' >> vmlinuz
You can also change DISTRO_ZDRVSFS='kernel-modules.sfs' in initrd/DISTRO_SPECS and etc/DISTRO_SPECS, then jiust have the kernel-modules.sfs in the same dir as initrd.gz.
Code: Select all
...
Must remake target `__build'.
Need a job token; we don't have children
Invoking recipe from scripts/Makefile.build:97 to update target `__build'.
Successfully remade target file `__build'.
Reaping winning child 0x18ed950 PID 5840
Removing child 0x18ed950 PID 5840 from chain.
Error: failed to compile the kernel sources.
<root> /initrd/mnt/dev_save/stems-unattended-kernelkit/stems-unattended-kernelkit
bash-4.2#
If that's any help. Not sure if it was my mistake or what.--2015-01-28 18:28:44-- http://www.kernel.org/pub/linux/kernel/ ... 8.3.tar.xz
Resolving www.kernel.org (www.kernel.org)... 149.20.4.69, 199.204.44.194, 198.145.20.140, ...
Connecting to www.kernel.org (www.kernel.org)|149.20.4.69|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.kernel.org/pub/linux/kernel ... 8.3.tar.xz [following]
--2015-01-28 18:28:46-- https://www.kernel.org/pub/linux/kernel ... 8.3.tar.xz
Connecting to www.kernel.org (www.kernel.org)|149.20.4.69|:443... connected.
WARNING: cannot verify www.kernel.org's certificate, issued by '/C=IL/O=StartCom Ltd./OU=Secure Digital Certificate Signing/CN=StartCom Class 2 Primary Intermediate Server CA':
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 80944856 (77M) [application/x-xz]
Saving to: 'dist/sources/vanilla/linux-3.18.3.tar.xz'
0K .......... .......... .......... .......... .......... 0%
...2015-01-28 18:31:24 (512 KB/s) - 'dist/sources/vanilla/linux-3.18.3.tar.xz' saved [80944856/80944856]
Cloning into 'aufs3-18-git280115'...
Note: checking out 'origin/aufs3.18'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 85f9860... aufs3.18 20150126
patching file fs/Kconfig
patching file fs/Makefile
patching file include/uapi/linux/Kbuild
patching file MAINTAINERS
patching file drivers/block/loop.c
patching file fs/dcache.c
Hunk #1 succeeded at 1019 (offset -1 lines).
patching file fs/inode.c
patching file fs/splice.c
patching file include/linux/fs.h
patching file include/linux/splice.h
patching file fs/dcache.c
patching file fs/inode.c
patching file fs/namespace.c
Hunk #2 succeeded at 1733 (offset 5 lines).
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/splice.c
patching file fs/xattr.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
patching file fs/buffer.c
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
patching file include/linux/mm_types.h
patching file kernel/fork.c
patching file mm/Makefile
patching file mm/filemap.c
patching file mm/fremap.c
patching file mm/madvise.c
patching file mm/memory.c
Hunk #1 succeeded at 2170 with fuzz 1 (offset 7 lines).
patching file mm/mmap.c
Hunk #4 succeeded at 2480 (offset 3 lines).
Hunk #5 succeeded at 2499 (offset 3 lines).
Hunk #6 succeeded at 2889 (offset 3 lines).
patching file mm/msync.c
patching file mm/nommu.c
patching file mm/prfile.c
patching file security/commoncap.c
Hunk #1 succeeded at 606 with fuzz 1 (offset 13 lines).
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
WRAP arch/x86/include/generated/asm/clkdev.h
WRAP arch/x86/include/generated/asm/cputime.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/scatterlist.h
SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
HOSTCC scripts/unifdef
INSTALL usr/include/asm-generic/ (35 files)
INSTALL usr/include/drm/ (18 files)
INSTALL usr/include/linux/byteorder/ (2 files)
INSTALL usr/include/linux/caif/ (2 files)
INSTALL usr/include/linux/can/ (5 files)
INSTALL usr/include/linux/dvb/ (8 files)
INSTALL usr/include/linux/hdlc/ (1 file)
INSTALL usr/include/linux/hsi/ (1 file)
INSTALL usr/include/linux/isdn/ (1 file)
INSTALL usr/include/linux/mmc/ (1 file)
INSTALL usr/include/linux/netfilter/ipset/ (4 files)
INSTALL usr/include/linux/netfilter/ (85 files)
INSTALL usr/include/linux/netfilter_arp/ (2 files)
INSTALL usr/include/linux/netfilter_bridge/ (17 files)
INSTALL usr/include/linux/netfilter_ipv4/ (9 files)
INSTALL usr/include/linux/netfilter_ipv6/ (12 files)
INSTALL usr/include/linux/nfsd/ (5 files)
INSTALL usr/include/linux/raid/ (2 files)
INSTALL usr/include/linux/spi/ (1 file)
INSTALL usr/include/linux/sunrpc/ (1 file)
INSTALL usr/include/linux/tc_act/ (8 files)
INSTALL usr/include/linux/tc_ematch/ (4 files)
INSTALL usr/include/linux/usb/ (11 files)
INSTALL usr/include/linux/wimax/ (1 file)
INSTALL usr/include/linux/ (405 files)
INSTALL usr/include/misc/ (1 file)
INSTALL usr/include/mtd/ (5 files)
INSTALL usr/include/rdma/ (6 files)
INSTALL usr/include/scsi/fc/ (4 files)
INSTALL usr/include/scsi/ (3 files)
INSTALL usr/include/sound/ (11 files)
INSTALL usr/include/video/ (3 files)
INSTALL usr/include/xen/ (4 files)
INSTALL usr/include/uapi/ (0 file)
INSTALL usr/include/asm/ (65 files)
CHECK usr/include/asm-generic/ (35 files)
CHECK usr/include/drm/ (18 files)
CHECK usr/include/linux/byteorder/ (2 files)
CHECK usr/include/linux/caif/ (2 files)
CHECK usr/include/linux/can/ (5 files)
CHECK usr/include/linux/dvb/ (8 files)
CHECK usr/include/linux/hdlc/ (1 files)
CHECK usr/include/linux/hsi/ (1 files)
CHECK usr/include/linux/isdn/ (1 files)
CHECK usr/include/linux/mmc/ (1 files)
CHECK usr/include/linux/netfilter/ipset/ (4 files)
CHECK usr/include/linux/netfilter/ (85 files)
CHECK usr/include/linux/netfilter_arp/ (2 files)
CHECK usr/include/linux/netfilter_bridge/ (17 files)
CHECK usr/include/linux/netfilter_ipv4/ (9 files)
CHECK usr/include/linux/netfilter_ipv6/ (12 files)
CHECK usr/include/linux/nfsd/ (5 files)
CHECK usr/include/linux/raid/ (2 files)
CHECK usr/include/linux/spi/ (1 files)
CHECK usr/include/linux/sunrpc/ (1 files)
CHECK usr/include/linux/tc_act/ (8 files)
CHECK usr/include/linux/tc_ematch/ (4 files)
CHECK usr/include/linux/usb/ (11 files)
CHECK usr/include/linux/wimax/ (1 files)
CHECK usr/include/linux/ (405 files)
./usr/include/linux/kexec.h:61: userspace cannot reference function or variable defined in the kernel
CHECK usr/include/misc/ (1 files)
CHECK usr/include/mtd/ (5 files)
CHECK usr/include/rdma/ (6 files)
CHECK usr/include/scsi/fc/ (4 files)
CHECK usr/include/scsi/ (3 files)
CHECK usr/include/sound/ (11 files)
CHECK usr/include/video/ (3 files)
CHECK usr/include/xen/ (4 files)
CHECK usr/include/uapi/ (0 files)
CHECK usr/include/asm/ (65 files)
CHK include/generated/uapi/linux/version.h
INSTALL include/asm-generic (35 files)
INSTALL include/drm (18 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter (85 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter_bridge (17 files)
INSTALL include/linux/netfilter_ipv4 (9 files)
INSTALL include/linux/netfilter_ipv6 (12 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (8 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (11 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (405 files)
INSTALL include/misc (1 file)
INSTALL include/mtd (5 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/xen (4 files)
INSTALL include/uapi (0 file)
INSTALL include/asm (65 files)
"multilib" refers to the libraries, not the kernel. 64-bit kernel can execute 64-and 32-bit programs perfectly fine (provided you have both 64-bit and 32-bit libraries - which I think is included by Tazoc). In fact, it is perfectly acceptable to run 64-bit kernel strictly with 32-bit libs and programs, and this is a better arrangement than running 32-bit PAE kernel. But, for this to work, you need 64-bit CPU.Dry Falls wrote:If we can rig a multilib/32 bit capability for 3.18.2, there won't be a need for two seperate distributions of LH.
I did try the one posted in http://www.murga-linux.com/puppy/viewto ... 038#825038 - ran all the way through, produced a vmlinuz but ended up with a 'failed to compile kernel' error. I was trying to compile just 32PAE alone and tweaked some of the config - so likely down to some noob error rather than your code/script.stemsee wrote:Here is an improved ubuild.sh script which asks for version of kernel to build and updates build config scripts accordingly.
Also, gives user the choice to build 1, 2 or 3 kernels. (needs testing the logic gets confusing)
I am running it now as latest stable kernel has bumped to 3.18.5
Please test, just drop it into the kernel kit above to replace ubuild.sh
fake .gz