Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ec2 amis



On 02.03.2011 22:54, Thor Lancelot Simon wrote:
> On Wed, Mar 02, 2011 at 08:50:38PM +0100, Jean-Yves Migeon wrote:
>>
>> Borked pkg_add. I chroot()ed in the partition for 5.1, and executed a
>> pkg_add bluntly, which creates /dev/null through a pipe redirection.
>> Will fix that for other regions too.
> 
> But why wasn't /dev populated?  Or did you run MAKEDEV after?

Yep, the tar file is missing the /dev content

This is somewhat mitigated by init(8), as it executes MAKEDEV if
/dev/console is missing (IIRC). But MAKEDEV won't overwrite a node if it
is already present, and given that /dev/null is...

>> Hmm. I have a problem there. While I can maintain NetBSD x.y
>> approximately sane from an "up-to-date" point of view, I won't rebuild
>> AMIs just for the fun of repackaging src/ and pkgsrc/ on a regular basis.
> 
> If you include an up to date (when you build the AMI) checkout of
> /usr/src, the consumer can just run "cvs update" as desired to fetch the
> new revisions.  It saves a lot of I/O.

Fair enough :) Will do.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index