Virendra,

Now if you mean you want a base rootfs like Robert minimal or bare
rootfs's, you can do that with debootstrap, but trust me you'll not be able
to easily get them as small as Robert does, and knowing how to use
debootstrap and related tools is not exactly a trivial matter. So,
seriously . . .

$ sudo apt-get install php5
$ sudo halt

remove sdcard and place into a Linux development machine ( i386 / i386-64 )

$ lsblk /* to find the sdcard path*/
then either use dd to make a whole disk backup including the bootloaders.
Or use tar to just backup the rootfs.

Remove scard from PC development system *magic hand waving back and forth
over top of sdcard* Ala kazam!

On Sat, Mar 12, 2016 at 2:59 AM, William Hermans <[email protected]> wrote:

> Sorry, I forgot the magic hand waving part, but you get the picture.
>
> On Sat, Mar 12, 2016 at 2:56 AM, William Hermans <[email protected]>
> wrote:
>
>> Ok so try this . . .
>>
>> $ sudo apt-get install php5
>> $ sudo halt
>>
>> Remove sdcard *BAM* php5 pre-installed.
>>
>> You're otherwise not making your goal very clear.
>>
>> On Sat, Mar 12, 2016 at 12:10 AM, Virendra Anthony <[email protected]>
>> wrote:
>>
>>> Williams,
>>>
>>> I wanted to get an SD card image *pre* installed with php before I
>>> insert the card into BBB. The command you have provided is to get the php
>>> after loading the SD into BBB.
>>>
>>> I am able to install the php package after I load the sd card in the BBB
>>> and then do the command 'sudo apt-get install php5'. What I wanted is
>>> the RFS should be bundled with PHP package.
>>>
>>> Thanks,
>>> Veera
>>>
>>>
>>> On 12 March 2016 at 10:09, William Hermans <[email protected]> wrote:
>>>
>>>> $ dpkg -l | grep <package_name> /* check if <package_name> is
>>>> installed */
>>>> $ apt-cache search <package_name> /* check if <package_name> exists in
>>>> the package repo */
>>>> $ sudo apt-get install <package_name> /* install existing package
>>>> <package_name> */
>>>>
>>>> On Fri, Mar 11, 2016 at 9:14 PM, Virendra <[email protected]> wrote:
>>>>
>>>>>
>>>>> Hi All,
>>>>>
>>>>> I have a doubt on how to package the php5 within the SD card image
>>>>> created to load in Beagle Bone Black.
>>>>>
>>>>> I have been following the instruction on
>>>>> https://eewiki.net/display/linuxonarm/BeagleBone+Black to get the
>>>>> micro SD card image. I use the default Debian 8 for the Root File System.
>>>>> Debian 8 doesn't come with PHP pre-installed. Could I get some 
>>>>> instructions
>>>>> how to bundle the php so that when I load the SD card image I should see
>>>>> the php5 installed.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Veera
>>>>>
>>>>> --
>>>>> For more options, visit http://beagleboard.org/discuss
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "BeagleBoard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>>> For more options, visit http://beagleboard.org/discuss
>>>> ---
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "BeagleBoard" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/beagleboard/8926jv-2MTo/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to