Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo based distro: Hadron
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Mon Aug 23, 2010 10:56 am    Post subject: Gentoo based distro: Hadron Reply with quote

Hi all,

I have been developing a Linux distribution called Hadron since summer 2009. It is based on Gentoo Linux and uses a new tool called lpms.

Hadron is USB-Live oriented Linux distribution which can be run on 1GB USB Key. It can run on hard disk or CDROM as well. Basically Hadron is a live Linux distribution but it can be used as a normal Linux distribution with lpms.

The distribution consists of modules that are built and managed by lpms. So a module can include many packages which is built on Gentoo by Portage and modules is described by using XML and small Python scripts.

Code:
<LPMS>
    <Module>
        <Name>ntfs3g</Name>
        <Description>Open source read-write NTFS driver that runs under FUSE</Description>
        <Homepage>http://www.tuxera.com/community/ntfs-3g-download/</Homepage>
        <Version>2008.8.8</Version>
        <Dependencies>
            <Dependency>fuse</Dependency>
        </Dependencies>
        <Content>
            <Component>ntfs3g</Component>
            <Component>ntfsprogs</Component>
            <Component>libconfig</Component>
        </Content>
    </Module>
</LPMS>


In the above example, the module includes ntfs3g, a related package and its dependency. In addition the module depends on another module.

lpms parses the above file(spec.xml) and collects files from the host system which is a special Gentoo installation.

As I said previously, lpms manages modules on Hadron. User can easily activate(install) modules. Simply run:

Code:
# lpms -a <module-name>


It will resolve dependencies, fetch modules from servers and activate(install) them.

Hadron has two different ISO image. One of these is called desktop ISO which includes X, Xfce and other useful things for daily use. The other ISO is called core which only includes base system to use Hadron.

To get Hadron, you can use the following links:

Desktop ISO — 299MB
* Turkish Linux Users Association

ftp://ftp.linux.org.tr/hadron/iso-x86/hadron-alpha-desktop-x86.iso

* SourceForge

https://sourceforge.net/projects/hadrongnulinux/files/iso-x86/hadron-alpha-desktop-x86.iso/download
SHA1SUM: 1e48c126f86de707aee8ce6a36da7aea3ab8ca36
MD5SUM: 6d0781fe00815ac923b1726ff7400743


Core ISO — 156MB
* Turkish Linux Users Association

ftp://ftp.linux.org.tr/hadron/iso-x86/hadron-alpha-core-x86.iso

* SourceForge

https://sourceforge.net/projects/hadrongnulinux/files/iso-x86/hadron-alpha-core-x86.iso/download
SHA1SUM: a2363294e08b9fe0d093a6254fcf68890e5c089f
MD5SUM: a1fae9f86f08e84b263d27cc39f9ae00


You should read LiveUSB/LiveHDD guide.

If you are interested in Hadron, visit the web page: http://hadronproject.org
_________________
:)
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1137
Location: Sofia/Bulgaria

PostPosted: Mon Aug 23, 2010 12:57 pm    Post subject: Reply with quote

That looks really good i`ll look into it :wink:
Wish you luck with the new distro and THANK YOU ! :D

EDIT: No x86_64! why? :?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."


Last edited by Kollin on Mon Aug 23, 2010 1:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Aug 23, 2010 1:04 pm    Post subject: Reply with quote

Yeah, I'm gonna check that too :P
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Mon Aug 23, 2010 1:49 pm    Post subject: Reply with quote

@Kollin
Quote:
EDIT: No x86_64! why?


Hadron only supports x86 because of we don’t have time or the manpower for other architectures.
_________________
:)
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1137
Location: Sofia/Bulgaria

PostPosted: Mon Aug 23, 2010 5:10 pm    Post subject: Reply with quote

purak wrote:
@Kollin
Quote:
EDIT: No x86_64! why?


Hadron only supports x86 because of we don’t have time or the manpower for other architectures.


:(
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2860
Location: Bay Area, CA

PostPosted: Tue Aug 24, 2010 7:50 am    Post subject: Reply with quote

Isn't that XML spec file a duplication of an ebuild? That's a lot of work! And I am not sure of the benefits!

If I was building a distro around Gentoo, I would be building a wrapper around portage and hide all the complexity behind that wrapper, exposing the advanced functionality through a switch. And give normal users the ability to install/deinstall/update preset, premade binary packages. A very simple set of commands.
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Tue Aug 24, 2010 8:38 am    Post subject: Reply with quote

devsk wrote:
Isn't that XML spec file a duplication of an ebuild? That's a lot of work! And I am not sure of the benefits!

No, It includes some thing(description, homepage, etc) from ebuilds. But it is not a duplication. XML spec file only ships information that lpms needs it.
For example:
http://gitorious.org/hadron/specifications/blobs/master/core/spec.xml

The core module consists of many Gentoo packages.

I have written small scripts to ease writing specs. I only follow runtime dependencies via qdepends -r

Quote:
If I was building a distro around Gentoo, I would be building a wrapper around portage and hide all the complexity behind that wrapper, exposing the advanced functionality through a switch. And give normal users the ability to install/deinstall/update preset, premade binary packages. A very simple set of commands.


Hadron does not include Portage or related Gentoo tools. I only use portage in build phase. Live environment(Hadron) is managed by lpms.

In addition, lpms does not copy the content of modules to USB Stick or hard drive. It only mounts squashfs images to root by using Aufs2. Hadron is a live distribution.

P.S: The modules are squashfs images.

Sorry for English, I am not native speaker.

Thanks :)
_________________
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum