X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from web50207.mail.re2.yahoo.com (web50207.mail.re2.yahoo.com [206.190.38.48]) by lists.alpinelinux.org (Postfix) with SMTP id 5B5F161A7E8 for ; Tue, 4 Aug 2009 13:10:03 +0000 (UTC) Received: (qmail 2495 invoked by uid 60001); 4 Aug 2009 13:10:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1249391401; bh=PEpjIAI+oX5xT5n3tj4qqXaB0BFk70nsqbkejlfuLVc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=yZOaJXSG1qrEfONGQC4Vd3VzGatO2jc4l9HzQAsCOGksjPSMJVSJ4xMmQbvCkOSN8mNXqT9uo0viFQh+Gueko2eJ50Fz+dTB3/0FTiMldQvesqX6kZWDVycgwsInuvhGB6oKlBTZljdgCPL/wm9MMFNDC5rpV4fKSpnpQRnkaCo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=SaP6DX1NeZkKEjyuZ8ZERlZOn8A+tLtIUDyvq0NQEbVhIvZCzxJwLJHx3YaDLl7jN5StD7/CCpMsd2bIdNQv0p3tWAdSGzdW/fXZmsQ+6L5xXuBtZ+ySM6Wp6N5J3yE/h58CiQNAoNlv5R+AvP7wL5GXbOlzZBmwibi63xFSaVg=; Message-ID: <779179.718.qm@web50207.mail.re2.yahoo.com> X-YMail-OSG: yXOJTXMVM1kAtLG5DvGXpdJQAzDCuRdspHIxIPFLr62e6LCl7zn0_FX_haLPXvsDitPFWd5_XXtJC8Q1FBsOEAT8QOWE56yVfLceNOkwgG2RPrrAm8n5xeuii9bSYZbmPgNJEm2yR39alq8gpFq_Iv6fpEvAyaTicXTvT15BJg7kfkAzzJvs.zEnMnMVim8hiDip4pCTM8dMyVQpCGxHwNMKZ.BsJkj7B_cpDjQf1Ia5.TDkJ_bTPZU1Xt25gqQ3Ug_EKDn1lAfeylbkHlbaaJld9duKwPthh0MTq8gDoElclWGVJ4otyeYKOVwTGp0qAGU7zt1gf3RLzXe5DaBH8GvfXfQmwy_b Received: from [208.74.141.254] by web50207.mail.re2.yahoo.com via HTTP; Tue, 04 Aug 2009 06:10:01 PDT X-Mailer: YahooMailRC/1358.22 YahooMailWebService/0.7.338.2 References: <6602aeca0908032055w2064f38dn8dbbfe3491a81e35@mail.gmail.com> <4A77B804.8050202@nothome.org> Date: Tue, 4 Aug 2009 06:10:01 -0700 (PDT) From: Ted Trask Subject: Re: [alpine-devel] Development environment To: jeremy@thomersonfamily.com Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <4A77B804.8050202@nothome.org> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Welcome Jeremy, we're always glad to have help. There's some ACF development information on wiki.alplinelinux.org, but it hasn't been updated in a while. For instance, there's information about setting up a dev environment at http://wiki.alpinelinux.org/w/index.php?title=Getting_started_with_ACF_development but I'm not aware of anyone actually using it. :) Personally, I use a physical box booting alpine from USB stick with the repository stored on a mounted hard drive. Previously I had used a CD and floppy configuration. Other options are VM or hard disk install. It's really just a matter of what you're comfortable with, although I recommend storing the repository on a hard drive rather than in the RAM disk. One major difference from the documentation is that we now use a git repository (git.alpinelinux.org) instead of SVN. You can browse the repository at http://git.alpinelinux.org/ Also, there is a much easier way to get ACF up and running - the 'setup-webconf' script - as documented at http://wiki.alpinelinux.org/w/index.php?title=Alpine_Configuration_Framework_Design. Here's my recommendation: 1) Install alpine however you would prefer (physical/VM CD/USB/HD) 2) Run setup-alpine 3) Run setup-webconf 4) Fetch from git the ACF repositories you're interested in 5) Modify files as you would like 6) Run 'make install' to install your changes 7) Test at https://yourhost Ted Trask ----- Original Message ---- From: Nathan Angelacos To: jeremy@thomersonfamily.com Cc: alpine-devel@lists.alpinelinux.org Sent: Tuesday, August 4, 2009 12:24:36 AM Subject: Re: [alpine-devel] Development environment Welcome, Jeremy, Jeremy Thomerson wrote: > I am new to Alpine Linux and would like to experiment with it and possibly submit patches to improve the ACF modules, or add new ACF modules. My main question is: what do you use for your development environment? Do you have a physical box that you have Alpine loaded on that you use for development? Do you use a VM? > ACF developmemt is lua based, so I used a vm with a local web server+git. Of course, there's probably good reasons I'm not involved in the web development much these days. For compiling C code, there's the chroot environment http://wiki.alpinelinux.org/w/index.php?title=Setting_up_the_build_environment > I installed Alpine on a VMWare VM tonight, and it runs on it fine. But on every reboot, I lose the configuration. I added a USB controller to the VM, mounted the USB stick and did an lbu commit, which worked fine. But it doesn't seem to auto-mount the USB stick on boot (/dev/sdb1). Looking at the initrc, it /looks/ like the apkovl has to be on the first usb drive, which would normally be /dev/sda; not sdb Well, actually it has to be on a device that is automounted; the init script looks for cdrom, floppy and usb. If you are booting from a virtual USB device, store your apkovl there. Otherwise, try creating a virtual floppy and storing it on floppy. > I'm not sure if this is a timing issue - perhaps VMWare doesn't make the USB stick appear to the VM early enough. Maybe there's a simple command that once the machine is booted will let me mount the stick and then load the committed configuration from it. Anyway, I'd be interested in seeing if you have any ideas for this setup and/or finding out what other Alpine devs use for development. tdtrask is the main ACF developer - he's in EDT so he'll probably have more (correct) info for your tomorrow morning. > > Thanks for any pointers. > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---