Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
live-build
Commits
87f4a1ee
Commit
87f4a1ee
authored
Mar 02, 2014
by
Daniel Baumann
Browse files
Adding upstream version 4.0~alpha32.
parent
97560dca
Changes
177
Hide whitespace changes
Inline
Side-by-side
VERSION
View file @
87f4a1ee
4.0~alpha3
1
-1
4.0~alpha3
2
-1
components/binary-hooks
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/binary-includes
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/bootstrap-cdebootstrap
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/bootstrap-debootstrap
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/bootstrap-hooks
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/bootstrap-includes
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/chroot-hooks
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/chroot-includes
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/init
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/source-hooks
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
components/source-includes
View file @
87f4a1ee
#!/usr/bin/python3
## live-build(7) - Live System Build Components
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
examples/hooks/minimal.hook.chroot
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
examples/hooks/stripped.hook.chroot
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
frontend/cgi/live-build-cgi
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
frontend/cgi/live-build-cgi.cron
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
frontend/cli/lb
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
@@ -18,13 +18,6 @@ DESCRIPTION="$(Echo 'utility to build live systems')"
HELP
=
"FIXME"
USAGE
=
"FIXME"
# Checking user account
if
[
"
$(
id
-u
)
"
-ne
"0"
]
then
Echo_error
"need root privileges"
exit
1
fi
case
"
${
1
}
"
in
-h
|
--help
)
if
[
-x
"
$(
which man 2>/dev/null
)
"
]
...
...
@@ -52,6 +45,16 @@ case "${1}" in
ENV
=
""
if
[
"
${
COMMAND
}
"
!=
"config"
]
then
# Checking user account
if
[
"
$(
id
-u
)
"
-ne
"0"
]
then
Echo_error
"need root privileges"
exit
1
fi
fi
for
_FILE
in
config/environment config/environment.binary
do
if
[
-e
"
${
_FILE
}
"
]
...
...
@@ -64,6 +67,10 @@ case "${1}" in
then
# User has live-build copied locally in the system
SCRIPT
=
"
${
LIVE_BUILD
}
/scripts/build/
${
COMMAND
}
"
elif
[
-x
"
${
LIVE_BUILD
}
/components/
${
COMMAND
}
"
]
then
# User has live-build copied locally in the system
SCRIPT
=
"
${
LIVE_BUILD
}
/components/
${
COMMAND
}
"
elif
[
-x
"local/live-build/scripts/build/
${
COMMAND
}
"
]
then
# User has live-build copied locally in the config
...
...
frontend/cli/live-build
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
...
...
functions/aliases.sh
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
functions/architectures.sh
View file @
87f4a1ee
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-201
3
Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2006-201
4
Daniel Baumann <mail@daniel-baumann.ch>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
...
...
Prev
1
2
3
4
5
…
9
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment