8 More Discussions You Might Find Interesting
1. Linux
i have a project in numerical calculus in c language
what unix i get better for this? (7 Replies)
Discussion started by: gitac
7 Replies
2. Cybersecurity
I'm looking to put a box at a client site which will be connected to the client's home router for internet.
That box will have remote access software on it and will have untrustworthy contractors logging in and using the browser. So, I'm looking for a distro that would be LOCKED DOWN to the max... (1 Reply)
Discussion started by: artranc3
1 Replies
3. Shell Programming and Scripting
Hi,
I have an application in 2 different directories, one is for OpenSuSE and the other for CentOS.
I wrote a script which chooses the right executable for the distribution. But it does not work.
-------------------
#!/bin/bash
if
then
( DN="/home/apps/applicationXY/Version3.1" )... (2 Replies)
Discussion started by: serverjunge
2 Replies
4. Slackware
Dear Friends,
If I use Slackware for learning whether it will make any confusion in administering/using Redhat and SuSE since I have checked slackware is more like BSD.
Thank you. (4 Replies)
Discussion started by: Tlogine
4 Replies
5. Linux
Hi all
Help me find the best distro for the following configurations:
Intel pentium IV 1.6 Ghz
128 MB RAM :(
40 GB Hardisk with one very big partition more than 35 gb n another 2 gb partition.
windows xp is already installed but has enough free space (26gb).
Which linux will be... (0 Replies)
Discussion started by: bbala
0 Replies
6. UNIX for Dummies Questions & Answers
There are soo many flavors of linux and i just cant choose/find the right linux for me...
I am hopeing for a linux that is a
Workhorse
Can fit of a seires (or 1) disk(s)
Lots of features (admin/mod features)
A learning mode or a detailed tutorial
Can work side by side with windows... (12 Replies)
Discussion started by: lithuaniaakid
12 Replies
7. UNIX for Dummies Questions & Answers
I know that the rules say no school questions but I am in advanced topics and am going to go to college for programming and I want to find a easy first OS to start me out, please help, thanks (3 Replies)
Discussion started by: KoKo
3 Replies
8. Programming
Listen, if you know a bit of programming in C and need to program unix-type operating systems the next transitive stage is for sure C++. However, have in mind that Java is like learning C but 99% object-oriented(o.o.) and with no pointers or memory-management tricks. It would be good for you to see... (5 Replies)
Discussion started by: SolidSnake
5 Replies
LEARN ABOUT DEBIAN
mk-sbuild
MK-SBUILD(1) General Commands Manual MK-SBUILD(1)
NAME
mk-sbuild - creates chroots via schroot and sbuild
SYNOPSIS
mk-sbuild [options...] <release>
DESCRIPTION
mk-sbuild creates chroots via schroot and sbuild.
OPTIONS
Listed below are the command line options for mk-sbuild:
--arch=ARCH
What architecture to select (defaults to the native architecture).
--name=NAME
Base name for the schroot (arch is appended).
--personality=PERSONALITY
What personality to use (defaults to match --arch).
--debug
Turn on script debugging.
--skip-updates
Do not include the -updates pocket in the installed sources.list.
--source-template=FILE
Use FILE as the sources.list template (defaults to $HOME/.mk-sbuild.sources).
--debootstrap-mirror=URL
Use URL as the debootstrap source (defaults to http://ports.ubuntu.com where appropriate, official Ubuntu repositories for the sup-
ported architectures).
--debootstrap-include=alpha,beta
Pass along a comma separated list of packages to debootstrap's --include argument. See debootstrap (8) for more details.
--debootstrap-exclude=alpha,beta
Pass along a comma separated list of packages to debootstrap's --exclude argument. WARNING: be careful using this option as you can
end up excluding essential package. See debootstrap (8) for more details.
--distro=DISTRO
Enable distro-specific logic. When not provided, the distribution is determined from release. Currently known distros: "debian"
and "ubuntu".
--vg=VOLUME_GROUP
Specify a volume group, and subsequently use a default SCHROOT_TYPE of "lvm-snapshot" rather than "directory" (via overlayfs or
aufs) mounts.
--type=SHROOT_TYPE
Specify a SCHROOT_TYPE. Supported values are "directory" (default if --vg not specified), "lvm-snapshot" (default if --vg speci-
fied), "btrfs-snapshot", and "file".
ENVIRONMENT VARIABLES
LV_SIZE
Size of source LVs (defaults to 5G).
SNAPSHOT_SIZE
Size of snapshot LVs (defaults to 4G).
SCHROOT_CONF_SUFFIX
Lines to append to schroot entries.
SKIP_UPDATES
Do not include the -updates pocket (same as --skip-updates)
DEBOOTSTRAP_MIRROR
Mirror location (same as --debootstrap-mirror)
DEBOOTSTRAP_INCLUDE
Comma separated list of packages to include when bootstrapping (same as --debootstrap-include)
DEBOOTSTRAP_EXCLUDE
Comma separated list of packages to exclude when bootstrapping (same as --debootstrap-exclude; see warning above)
SOURCE_CHROOTS_DIR
Use SOURCE_CHROOTS_DIR as home of schroot source directories. (default /var/lib/schroot/chroots)
SOURCE_CHROOTS_TGZ
Use SOURCE_CHROOTS_TGZ as home of schroot source tarballs. (default /var/lib/schroot/tarballs)
CHROOT_SNAPSHOT_DIR
Use CHROOT_SNAPSHOT_DIR as home of mounted btrfs snapshots. (default /var/lib/schroot/snapshots)
FILES
$HOME/.mk-sbuild.rc
Sourced for environment variables (defined above).
$HOME/.mk-sbuild.sources[.$DISTRO]
Can contain a customized sources.list. It will be read when creating the schroot. If a file with ".ubuntu" or ".debian" is found
(as appropriate) it will use used instead. See sources.list (5) for more details on the format.
$HOME/.mk-sbuild.schroot.conf[.$SCHROOT_TYPE]
Can contain a customized configuration section to be inserted into /etc/schroot/schroot.conf. If a file with ".lvm-snapshot",
".directory", ".file", or "btrfs-snapshot" is found (as appropriate) that file will use used instead. See schroot.conf (5) for more
details on the format.
USING THE CHROOTS
To CHANGE the golden image: sudo schroot -c ${SCHROOT_NAME}-source -u root
To ENTER an image snapshot: schroot -c $SCHROOT_NAME
To BUILD within a snapshot: sbuild -A -d $SCHROOT_NAME $PACKAGE*.dsc
for example, to update the packages in a sid-amd64 golden image:
schroot -c sid-amd64-source -u root -- sh -c "apt-get -qq update && apt-get -qy upgrade && apt-get clean" </dev/null
SEE ALSO
sbuild-setup(7), sources.list(5), schroot.conf(5), https://help.ubuntu.com/community/SbuildLVMHowto
AUTHOR
mk-sbuild was written by Kees Cook <kees@ubuntu.com>. This man page was written by Ryan Kavanagh <ryanakca@kubuntu.org>. Both are
released under the GNU General Public License, version 3 or later.
ubuntu-dev-tools 09 February 2010 MK-SBUILD(1)