Sponsored Content
Operating Systems Linux Secondary linux dist WITHIN primary one Post 302417288 by inquam on Thursday 29th of April 2010 05:05:39 AM
Old 04-29-2010
Secondary linux dist WITHIN primary one

Hi

New here so forgive my ignorance and inability to express myself in an informative manner Smilie

I have a Fedora distribution installed on my development computer. The system we build is meant to run on a slackware dist which is all fine and well. But due to our flow of deployment I would have to create a new tag in svn each time I would like one of our slackware servers to build the system, even for testing minor fixes. This will ofcourse create an enormous ammount of tags if this approach were to be used. My predecessor apperently managed to get a secondare ROOT in his system in which he had a slackware distribution installed. He had it placed in a folder in /32 and changed to it just by typing "32" in the terminal. Does ANYONE have an idea of how this is accomplished? Beacuse then I would be able to switch to that environment, compile and test locally without having to ditch my entire Fedora installation.
He didn't quite remember himself how he got it working but he said that I could try to install slackware on a usb and just copy the entire thing to a folder in my Fedora installation after that. But to me it seems like the system somehow would have to read a lot of env variables etc from the slackware dist when I change and I don't get how to get that to work at all. I have been using Linux on and off for quite a few years, but I don't know the ins and outs of how everything works, so please explain in a kindergarten way if you can Smilie

Thanx in advance!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find All Primary and Secondary Group ID's for a user

Is there any command which can list me all the Group ID's (Primary, Secondary ) assocaited with a single user. Thanks Sanjay (2 Replies)
Discussion started by: sanjay92
2 Replies

2. UNIX for Advanced & Expert Users

primary-secondary sync problem

hi guys, i am new to this DNS business and i'm having a problem. the setup is bind 9.2.3 is installed on a sun solaris 8 server and is the primary DNS. men and mice suite is installed on another sun solaris 8 and that is our secondary DNS server. problem is recently the secondary DNS stopped... (0 Replies)
Discussion started by: mbannout
0 Replies

3. UNIX for Dummies Questions & Answers

Which Linux dist?

I'm working from what I believe is a server based implementation of Unix and Linux. I access terminals and a Red Hat desktop through Sun Global Desktop from a windows PC. Recently I have been doing much more complicated activities (than usual). I needed to use cmake, make and gcc (version 4.0.3... (1 Reply)
Discussion started by: seroppi
1 Replies

4. Shell Programming and Scripting

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now... (1 Reply)
Discussion started by: venu_eie
1 Replies

5. UNIX for Advanced & Expert Users

Passing the values to the secondary script when it invoked by primary script

Hi, When I invoke a script s1.sh it will call an another script s2.sh by itself. This script s2.sh will call some java files, so while running the script it asks for a file name to be processed. Which we can see in the screen. The file name to be processed is present in script s1.sh Now I... (2 Replies)
Discussion started by: venu_eie
2 Replies

6. Filesystems, Disks and Memory

shift hard disk from primary IDE channel to secondary IDE channal

Wellcomes All, some times ago I 've installed a Debian ditribution on an Hard Disk who was set as Primary Master. Few days ago, I 've decided to install another Hard Disk with a different Operating System. When I did that, I turned off the old hard disk, and I mouted the new one on the Primary IDE... (1 Reply)
Discussion started by: thekarsillo
1 Replies

7. UNIX for Dummies Questions & Answers

Synchronizing primary and secondary name servers

Hello All, Does some one know how to synchronize the primary name server with the secondary without knowing the domains on which synchronization failed. I have just done /usr/sbin/ndc reload Alternatively how do i find out the domains on which synchronization failed? (4 Replies)
Discussion started by: a2z1982
4 Replies

8. Shell Programming and Scripting

List ALL users in a Unix Group (Primary and Secondary)

Is there a command or better combination of cmds that will give me the list of Unix users in a particular Unix group whether their primary group is that group in question (information stored in /etc/passwd) or they are in a secondary group (information stored in /etc/group). So far all I got... (5 Replies)
Discussion started by: ckmehta
5 Replies

9. AIX

How to find Primary & Secondary VIOS?

Hi, In a Dual VIOSs setup having 4 SEA adapters each, how to find which one is Primary and Secondary.? Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

10. Solaris

DNS Primary and Secondary

hi there, i using salaris 10 as my DNS server. i have 2 dns server primary and secondary. if primary dns server i edit/update, the other secondary dns server must be sync too. How can i configure if dns server (primary) can sync the secondary? (1 Reply)
Discussion started by: tappetmus
1 Replies
CPANPLUS::Dist::Base(3pm)				 Perl Programmers Reference Guide				 CPANPLUS::Dist::Base(3pm)

NAME
CPANPLUS::Dist::Base - Base class for custom distribution classes SYNOPSIS
package CPANPLUS::Dist::MY_IMPLEMENTATION use base 'CPANPLUS::Dist::Base'; sub prepare { my $dist = shift; ### do the 'standard' things $dist->SUPER::prepare( @_ ) or return; ### do MY_IMPLEMENTATION specific things ... ### don't forget to set the status! return $dist->status->prepared( $SUCCESS ? 1 : 0 ); } DESCRIPTION
CPANPLUS::Dist::Base functions as a base class for all custom distribution implementations. It does all the mundane work CPANPLUS would have done without a custom distribution, so you can override just the parts you need to make your own implementation work. FLOW
Below is a brief outline when and in which order methods in this class are called: $Class->format_available; # can we use this class on this system? $dist->init; # set up custom accessors, etc $dist->prepare; # find/write meta information $dist->create; # write the distribution file $dist->install; # install the distribution file $dist->uninstall; # remove the distribution (OPTIONAL) METHODS
@subs = $Class->methods Returns a list of methods that this class implements that you can override. $bool = $Class->format_available This method is called when someone requests a module to be installed via the superclass. This gives you the opportunity to check if all the needed requirements to build and install this distribution have been met. For example, you might need a command line program, or a certain perl module installed to do your job. Now is the time to check. Simply return true if the request can proceed and false if it can not. The "CPANPLUS::Dist::Base" implementation always returns true. $bool = $dist->init This method is called just after the new dist object is set up and before the "prepare" method is called. This is the time to set up the object so it can be used with your class. For example, you might want to add extra accessors to the "status" object, which you might do as follows: $dist->status->mk_accessors( qw[my_implementation_accessor] ); The "status" object is implemented as an instance of the "Object::Accessor" class. Please refer to its documentation for details. Return true if the initialization was successful, and false if it was not. The "CPANPLUS::Dist::Base" implementation does not alter your object and always returns true. $bool = $dist->prepare This runs the preparation step of your distribution. This step is meant to set up the environment so the "create" step can create the actual distribution(file). A "prepare" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "perl Makefile.PL" to find the dependencies for a distribution. For a "debian" distribution, this is where you would write all the metafiles required for the "dpkg-*" tools. The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->prepared" to the return value of this function. If you override this method, you should make sure to set this value. $bool = $dist->create This runs the creation step of your distribution. This step is meant to follow up on the "prepare" call, that set up your environment so the "create" step can create the actual distribution(file). A "create" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "make" and "make test" to build and test a distribution. For a "debian" distribution, this is where you would create the actual ".deb" file using "dpkg". The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->dist" to the location of the created distribution. If you override this method, you should make sure to set this value. Sets "$dist->status->created" to the return value of this function. If you override this method, you should make sure to set this value. $bool = $dist->install This runs the install step of your distribution. This step is meant to follow up on the "create" call, which prepared a distribution(file) to install. A "create" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "make install" to copy the distribution files to their final destination. For a "debian" distribution, this is where you would run "dpkg --install" on the created ".deb" file. The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->installed" to the return value of this function. If you override this method, you should make sure to set this value. $bool = $dist->uninstall This runs the uninstall step of your distribution. This step is meant to remove the distribution from the file system. A "uninstall" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "make uninstall" to remove the distribution files the file system. For a "debian" distribution, this is where you would run "dpkg --uninstall PACKAGE". The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->uninstalled" to the return value of this function. If you override this method, you should make sure to set this value. perl v5.18.2 2014-01-06 CPANPLUS::Dist::Base(3pm)
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy