Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...

Re: Porteus Kernel Builder

Postby neko » 25 Jan 2017, 04:23

@Ed_P
1."but the boot fails with a blank screen."
Maybe, I guss that 000-kernel.xzm needs to be updated.
000-kernel.xzm will be updated on "step 2 How to adapt the new patch to Porteus ISO".

2."And which is more than I can do"
Would you tell me which you done update or not ?

3. The menu image you posted is actually labeled "APorteus Kernel Builder".
Thank you for your point out.
I will correct tne naming at the next update.

Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby neko » 25 Jan 2017, 13:18

Porteus Kernel Builder was updated to 17.01.20.

mkKernel-17.01.20-noarch-1.xzm (3 M)
http://www.mediafire.com/file/u7x28uikg ... arch-1.xzm
md5sum: b3580f6fddbe2eb68958fd29f221bdbd mkKernel-17.01.20-noarch-1.xzm


A locale interface was introduced.
There is only JA locale.
On need, please build your locale by yourself.
1. Edit your locale by referring JA locale source.
JA locale source: /usr/local/share/mkKernel/src/mkKernel.po
2. Converte source to binary with msgfmt command.
Code: Select all
# msgfmt -o mkKernel.mo mkKernel.po

3. Set mkKernel.mo in your locale of /usr/share/locale.
example: de
Code: Select all
# cp mkKernel.mo /usr/share/locale/de/LC_MESSAGES/



Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby Ed_P » 26 Jan 2017, 19:05

neko wrote:2."And which is more than I can do"
Would you tell me which you done update or not ?

I'm not sure I understand what you are asking. I have not updated the kernel, I don't use the 05-devel module thus I can't compile source. What I did change was my grub2 menu from:
Code: Select all
     linux (loop)/boot/syslinux/vmlinuz from=$iso $porteus_parms
to
Code: Select all
     linux  /Users/Ed/vmlinuz from=$iso $porteus_parms

The vmlinuz file being the one I downloaded from your link.
Ed
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2802
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.* 64-bit ISO

Re: Porteus Kernel Builder

Postby neko » 27 Jan 2017, 06:46

@Ed_P
From your grub2 config, I understood what you done.

Step 2 of the article Porteus Kernel Builder
doesn't need 05-devel module.

You can update your ISO without kernel compile.

Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby neko » 27 Jan 2017, 11:16

New "ISO update Example" v4.9.6 that was adapted by additional patch was offered.
Please refer to Porteus Kernel Builder

The kernel of Porteus ISO can be update to version 4.9.6 easily without compiling.


Note 1:
About additional patch,
please refer to Invalid argument

This additional patch is not yet integrated to original aufs patch.


Note 2:
If you need the version without additional patch,
the following version is without additional patch.

v4.9.6-1.tar.xz (39 M)
http://www.mediafire.com/file/ep55i8d8c ... 6-1.tar.xz
md5sum: 6640ba080f62a1f502b4e15ad36cad5a v4.9.6-1.tar.xz
Note 3:
Please rename v4.9.6-1 to v4.9.6 with 'mv' command after expand v4.9.6-1.tar.xz.


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby Ed_P » 27 Jan 2017, 21:58

neko wrote:@Ed_P
From your grub2 config, I understood what you done.

Step 2 of the article Porteus Kernel Builder
doesn't need 05-devel module.


I'm sorry but I'm confused.

http://forum.porteus.org/viewtopic.php?f=75&t=6568#p52474 wrote:2. How to adapt the new patch to Porteus ISO.
(1) Prepare "Porteus Kernel Builder" and v4.9.5-2.tar.xz.
Please refer to Porteus Kernel Builder.


http://forum.porteus.org/viewtopic.php?f=75&t=6568#p52232 wrote:[How to use]
step 1. prepare compile environment.
get 05-devel.xzm for your architecture from Porteus release site.
activate "05-devel.xzm".
This prepare is needed for the following actions only.
1)getting AUF patch
2)adapting AUF patch
3)building kernel


I appreciate your help neko but I think kernel building is a bit beyond me. :sorry: I'll just wait for the brokenman Porteus 3.2 update.
Ed
User avatar
Ed_P
Contributor
Contributor
 
Posts: 2802
Joined: 06 Feb 2013, 23:12
Location: Western NY, USA
Distribution: Cinnamon 3.2.* 64-bit ISO

Re: Porteus Kernel Builder

Postby neko » 28 Jan 2017, 01:14

@Ed_P

I am sorry that I made you mislead with my poor English sentence.
If you have available time to read shell script,
please read ones that are included in mkKernel-17.01.20-noarch-1.xzm.
Maybe it makes you understand "Kernel Builder" exactly.

main script: /usr/local/sbin/guimkKernel
subroutines: /usr/local/share/mkKernel/inc/*.inc


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby neko » 28 Jan 2017, 01:17

New "ISO update Example" v4.4.45 was offered.
Please refer to Porteus Kernel Builder

The kernel of Porteus ISO can be update to version 4.4.45 easily without compiling.


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby neko » 30 Jan 2017, 05:35

Porteus Kernel Builder was updated to 17.01.30.

Please refer to top article of this thread.
Porteus Kernel Builder

AUFS patch for kernel version line 4.10-rc is released.
AUFS_VERSION "4.x-rcN-20170130"

Kernel 4.10-rc6 can be compiled for Porteus.


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby neko » 30 Jan 2017, 09:20

New "ISO update Example" v4.10-rc6 was offered.
Please refer to Porteus Kernel Builder

The kernel of Porteus ISO can be update to version 4.10-rc6 easily without compiling.


---------------------------------------------------------
[How to update the kernel of Porteus ISO]
Example ISO: Porteus-XFCE-v3.2.2-x86_64.iso

1.Download mkKernel-17.01.30-noarch-1.xzm and v4.10-rc6.tar.xz

mkKernel-17.01.30-noarch-1.xzm (3 M)
http://www.mediafire.com/file/8dz1byga5 ... arch-1.xzm
md5sum: e424c2fa787a72ead0181a40d1fed4f6 mkKernel-17.01.30-noarch-1.xzm

v4.10-rc6.tar.xz (39 M)
http://www.mediafire.com/file/bvht3drde ... rc6.tar.xz
md5sum: 7e24a994fde20ab76caf91421a1552ef v4.10-rc6.tar.xz

2.Set your kernel build directory.
Code: Select all
% ls -R
.:
Downloads  KernelBuild

./Downloads:
Porteus-XFCE-v3.2.2-x86_64.iso mkKernel-17.01.30-noarch-1.xzm v4.10-rc6.tar.xz

./KernelBuild:

% su
# cd Downloads
activate mkKernel-17.01.30-noarch-1.xzm
# cd ../KernelBuild
# xz -dc ../Downloads | tar -x
# ls -1 v4.10-rc6/*
v4.10-rc6/aufs.patch

v4.10-rc6/32:
32bit.config
lib
vmlinuz

v4.10-rc6/64:
64bit.config
lib
vmlinuz

aufs.patch:.....AUFS patch for kernel version line 4.10-rc
*bit.config:....prototype config


3.Execute "Kernel Builder"
"GUI menu" ---> "Kernel Builder"
<setting window>
"Kernel Builder directory":...........KernelBuild
"Kernel Version":.....................4.10-rc6
"ISO whose kernel will be update":....Porteus-XFCE-v3.2.2-x86_64.iso
Push "OK"

4.Get updated ISO
Code: Select all
% ls KernelBuild
UP.Porteus-XFCE-v3.2.2-x86_64.iso
v4.10-rc6

UP.Porteus-XFCE-v3.2.2-x86_64.iso:....updated ISO


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby neko » 02 Feb 2017, 09:50

New "ISO update Example" v4.9.7 and v4.4.46 were offered.
Please refer to Porteus Kernel Builder

The kernel of Porteus ISO can be update to version 4.9.7 or v4.4.46 easily without compiling.


Note:
AUFS patch for kernel 4.9 line is updated to "4.9-20170130".
Maybe, the additional patch is included in new version.
Therefore it was not adapted.
About the additional patch,
refer to Invalid argument


---------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.10-rc6".
Porteus Kernel Builder


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby lolololo » 02 Feb 2017, 18:45

hi
Porteus kernel do not use others additional patchs besides aurfs??
lolololo
White ninja
White ninja
 
Posts: 16
Joined: 23 Jan 2017, 15:54
Location: sudafrica
Distribution: Porteus 3.2.2 TDE R14.0.4

Re: Porteus Kernel Builder

Postby neko » 03 Feb 2017, 09:25

@lolololo
No, Porteus kernel does not use others additional patchs besides aurfs.
The only one patch was gotten by the procedure of the following article.
http://www.porteus.org/component/conten ... ernel.html

Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

Re: Porteus Kernel Builder

Postby lolololo » 04 Feb 2017, 19:57

Before if he had any that's why i asked
That article need to be update still refers to ausf3,
thanks for answering and thanks fior your program.
lolololo
White ninja
White ninja
 
Posts: 16
Joined: 23 Jan 2017, 15:54
Location: sudafrica
Distribution: Porteus 3.2.2 TDE R14.0.4

Re: Porteus Kernel Builder

Postby neko » 06 Feb 2017, 01:32

New "ISO update Example" v4.9.8 and v4.4.47 were offered.
Please refer to Porteus Kernel Builder

The kernel of Porteus ISO can be update to version 4.9.8 or v4.4.47 easily without compiling.


---------------------------------------------------------
[How to update the kernel of Porteus ISO]
Please refer to the example of "kernel 4.10-rc6".
Porteus Kernel Builder


Thanks.
neko
Contributor
Contributor
 
Posts: 772
Joined: 09 Feb 2013, 10:55
Location: japan
Distribution: APorteus-FVWM-ja-x86_64.iso

PreviousNext

Return to Community effort



Who is online

Users browsing this forum: No registered users and 1 guest