aboutsummaryrefslogtreecommitdiff
path: root/package/python-pygame
Commit message (Expand)AuthorAgeFilesLines
* python-pygame: add license informationGravatar Gustavo Zacarias2014-06-261-1/+3
* python-pygame: Make installation of examples optionalGravatar Maarten ter Huurne2014-04-112-0/+13
* packages: remove support for documentation on targetGravatar Thomas De Schampheleire2014-02-081-2/+0
* python-pygame: convert to the Python package infrastructureGravatar Thomas Petazzoni2013-12-151-17/+8
* packages: remove uninstall commandsGravatar Thomas De Schampheleire2013-12-061-4/+0
* python-pygame: rename package's Config.in boolGravatar Ryan Barnett2013-12-041-1/+1
* fix header package nameGravatar Jerzy Grzegorek2013-07-271-1/+1
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
* Convert headers to lower case when relevantGravatar Alexandre Belloni2013-06-061-1/+1
* Fix package headers to comply with coding styleGravatar Alexandre Belloni2013-06-061-0/+1
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
* Add pygame packageGravatar Julien Boibessot2012-01-112-0/+160
.highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/* vi: set sw=4 ts=4: */
/*
 * pivot_root.c - Change root file system.  Based on util-linux 2.10s
 *
 * busyboxed by Evin Robertson
 * pivot_root syscall stubbed by Erik Andersen, so it will compile
 *     regardless of the kernel being used.
 *
 * Licensed under GPL version 2, see file LICENSE in this tarball for details.
 */
#include "busybox.h"

extern int pivot_root(const char * new_root,const char * put_old);

int pivot_root_main(int argc, char **argv)
{
	if (argc != 3)
		bb_show_usage();

	if (pivot_root(argv[1],argv[2]) < 0)
		bb_perror_msg_and_die("pivot_root");

	return EXIT_SUCCESS;
}