X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by lists.alpinelinux.org (Postfix) with ESMTP id 4A78E170000BA for ; Thu, 20 Nov 2008 08:25:13 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so151487eyf.13 for ; Thu, 20 Nov 2008 00:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=OEYleBUTxkYd5o/ykpAp1kDfmfptFStJ1Cuexn3xi4Q=; b=lH6q0m+/gVTw6EJ6ZZ/IscGBddU9cDbDjsxLp6XEzFyLU2JPUpRYEK5OELwhVF361e K2K2A1phhJ7itfJ3pMl1jKA6OvDwKyo70vrCGy3q8o2uYtvhUt4fvmmwjktYTuht9n/7 nYCzN9t+BCQI+U5MPL0ZxLcmG7H47zOTpxHvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=fM5Csl7wkr8RGPpqMG6CJ7pX4Vrs6prZbnFUCtDRMxn1hTek4Q74Cse+GFM+sGqQ9I RGUKM1JmQ6qeEGb25+9UItLdfO1gCuyn9UAaEE9iu/YhynREpJCFXtNeREG+PTg0Pxgv E8eG3uppo3lyH42HmMf1bBC7yCXbOR+BdVe0k= Received: by 10.210.87.14 with SMTP id k14mr1651126ebb.159.1227169512193; Thu, 20 Nov 2008 00:25:12 -0800 (PST) Received: from ?10.65.0.5? (149-13-151.oke2-bras2.adsl.tele2.no [90.149.13.151]) by mx.google.com with ESMTPS id 20sm222613eyk.40.2008.11.20.00.25.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Nov 2008 00:25:11 -0800 (PST) Subject: Re: [alpine-devel] How Alpine stores OS in RAM? From: Natanael Copa To: Jan Klod Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <200811192145.49931.janklodvan@gmail.com> References: <200811071330.45777.janklodvan@gmail.com> <1226055052.31131.43.camel@nc> <200811192145.49931.janklodvan@gmail.com> Content-Type: text/plain Date: Thu, 20 Nov 2008 09:25:08 +0100 Message-Id: <1227169508.8518.65.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit On Wed, 2008-11-19 at 21:45 +0200, Jan Klod wrote: > On Friday 07 November 2008 12:50:52 you wrote: > > On Fri, 2008-11-07 at 14:30 +0300, Jan Klod wrote: > > > Since I still try building a gentoo-similar OS in RAM, I would > > > appreciate, if someone tells me how Alpine is stored in RAM? > > > > During boot, the initramfs script will mount a tmpfs root where the > > base.tar.bz2 is extracted and then it just 'switch_root' and 'exec init' > Please post the root filesystem line of fstab! looks like i dont have any rootfs line in fstab at all. > I am doing switch_root from initramfs and that is currently the problem. > > Does that explain? The alpine runtime is not really a gentoo system. Its > > alot smaller alpien system. > Yes, could be, I just got an operational gentoo-id of 160MB, which has gcc. > But that is not a clean work like yours - it has no portage. fwiw, I'm working on a native alpine buildsystem, so you don't need gentoo at all. So far I got almost all the toolchain there. gcc still needs some tweaking to get the "hardened" part correct. (currently ssp and pie is not turned on by default for some reason) http://dev.alpinelinux.org/cgit/cgit.cgi/aports/ You can use base.tar.bz2 in a chroot (or vserver), install gcc, binutils and uclibc-dev and then you should basicly have what you need to start build things. > > > Jan > > > > -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---