Toggle navigation
Toggle navigation
This project
Loading...
Sign in
debian-bootstrap
/
Gsoc2013
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Gustavo Prado Alkmim
2013-09-20 15:50:34 -0300
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
c20fb6f34f69a85347ceb5865bcb3f82424236d3
c20fb6f3
1 parent
6fb4bdb1
Improved Documentation
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
21 deletions
README
autobootstrap/add-ma-foreign.pl
autobootstrap/autobootstrap.pl
autobootstrap/botch_build_order.sh
autobootstrap/create-chroot.sh
autobootstrap/make-patch.pl
autobootstrap/order1.lst.orig
README
View file @
c20fb6f
To get the newest version version:
1) apt-get install git
2) git clone https://git.gitorious.org/debian-bootstrap/gsoc2013.git
...
...
@@ -8,13 +5,19 @@ To get the newest version version:
If you want to test the toolchain, just run:
./run-cross.sh {your package sign key}
If this is your first time running sbuild, the script might return error
and you should restart your session, so your user are going to be in the
sbuild group. After that, just re-execute the command and it will run
without problems. Note that the userdir module from apache should be loaded.
without problems.
Note that the userdir module from apache should be loaded.
This is required to have a local repository in the users public_html
accessible through http://127.0.0.1/~$USER/
Note that the secret key of the key you are using to sign the packages must
be available in the user home that is running the scripts.
The files run-native.sh and run-cross.sh are examples of the execution of both
scripts. By running ./run-cross.sh the script should be able to setup an
crossbuild environment and run the automated bootstrap scripts. The steps
...
...
@@ -45,12 +48,16 @@ autobootstrap/ --> Scripts and other files related with the development
create-chroot.sh --> Script that creates a chroot environment
ready to be used by the automated bootstrap
script.
order1.lst -->
order2.lst -->
autobootstrap.pl -->
bug.workaround -->
make-patch.pl -->
order1.lst.orig -->
order1.lst --> This is a native build order obtained
runnong botch. This is a cycle free build order
order2.lst --> This is a native build order obtained
running botch. This build order has cycles
autobootstrap.pl --> This is the script that automatically
builds/crossbuilds packages
bug.workaround --> This file is a way found to workaround the
bug 722880.
make-patch.pl --> Script that automatically create patch
for a source package.
autobootstrap/repositories/ --> Keep the default repository configurations
prepare_repos.sh --> script to prepare all repositories to be
...
...
autobootstrap/add-ma-foreign.pl
View file @
c20fb6f
#!/usr/bin/perl
#
# Author: Gustavo Alkmim (alkmim@ic.unicamp.br)
# Chagelog:
# Aug 09, 2013 - First Version
#
# TODO:
use
strict
;
use
diagnostics
;
use
Dpkg::Control::
Info
;
...
...
autobootstrap/autobootstrap.pl
View file @
c20fb6f
#!/usr/bin/perl
#
# Author: Gustavo Alkmim (alkmim@ic.unicamp.br)
# Chagelog:
# Aug 27, 2013 - First Version
#
# TODO:
#
use
strict
;
...
...
autobootstrap/botch_build_order.sh
View file @
c20fb6f
#!/bin/sh -e
#
# Author: Gustavo Alkmim (alkmim@ic.unicamp.br)
#
echo
" + running grep-dctrl..."
>&2
...
...
autobootstrap/create-chroot.sh
View file @
c20fb6f
#! /bin/bash
#
# Author: Gustavo Alkmim (alkmim@ic.unicamp.br)
#
upstream_repo
=
$1
upstream_suite
=
$2
...
...
@@ -46,7 +49,7 @@ echo "deb [arch=$buildarch,$hostarch] $toolchain_repo $toolchain_suite main " >>
echo
"mk-sbuild --debug --arch=
$arch
--name=
$chroot_name
\-
$hostarch
--source-template=
\"
$PWD
/sources.list
\"
--debootstrap-include=
\"
devscripts,build-essential,locales,debhelper --keyring=
$keyring_file
\"
--debootstrap-mirror=
$upstream_repo
$upstream_suite
"
#mk-sbuild --debug --arch=$buildarch --name=$chroot_name\-$hostarch --source-template="$PWD/sources.list" --debootstrap-include="devscripts,build-essential,locales,debhelper --keyring=$keyring_file" --debootstrap-mirror=$upstream_repo $upstream_suite
#
mk-sbuild --arch=$buildarch --name=$chroot_name\-$hostarch --source-template="$PWD/sources.list" --debootstrap-include="devscripts,build-essential,locales,debhelper --no-check-gpg" --debootstrap-mirror=$upstream_repo $upstream_suite
mk-sbuild --arch
=
$buildarch
--name
=
$chroot_name
\-
$hostarch
--source-template
=
"
$PWD
/sources.list"
--debootstrap-include
=
"devscripts,build-essential,locales,debhelper --no-check-gpg"
--debootstrap-mirror
=
$upstream_repo
$upstream_suite
#sudo schroot -c source:$chroot_name\-$arch -u root dpkg-reconfigure locales
...
...
autobootstrap/make-patch.pl
View file @
c20fb6f
#!/usr/bin/perl
#
# Author: Gustavo Alkmim (alkmim@ic.unicamp.br)
# Chagelog:
# Aug 09, 2013 - First Version
#
# TODO:
use
strict
;
use
diagnostics
;
use
Dpkg::Control::
Info
;
...
...
autobootstrap/order1.lst.orig
deleted
100644 → 0
View file @
6fb4bdb
This diff could not be displayed because it is too large.
Please
register
or
sign in
to post a comment