~asac/live-build/live-helper.install-kernel-with-no-initramfs

« back to all changes in this revision

Viewing changes to helpers/lh_binary_includes

  • Committer: Daniel Baumann
  • Date: 2007-09-23 08:04:47 UTC
  • Revision ID: git-v1:f4383da69d4642521cb07f8f970d9c9c759b44ee
Tags: 1.0_a2-1
Adding live-helper 1.0~a2-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
Set_defaults
18
18
 
19
19
# Requiring stage file
20
 
Require_stagefile "${LIVE_ROOT}"/.stage/bootstrap
 
20
Require_stagefile .stage/bootstrap
21
21
 
22
22
# Checking lock file
23
 
Check_lockfile "${LIVE_ROOT}"/.lock
 
23
Check_lockfile .lock
24
24
 
25
25
# Creating lock file
26
 
Create_lockfile "${LIVE_ROOT}"/.lock
 
26
Create_lockfile .lock
27
27
 
28
28
# Checking stage file
29
 
Check_stagefile "${LIVE_ROOT}"/.stage/binary_includes
 
29
Check_stagefile .stage/binary_includes
30
30
 
31
31
if ls /usr/share/live-helper/includes/common/* &> /dev/null
32
32
then
33
 
        cp -r /usr/share/live-helper/includes/common/* "${LIVE_ROOT}"/binary
 
33
        cp -r /usr/share/live-helper/includes/common/* binary
34
34
fi
35
35
 
36
36
if ls /usr/share/live-helper/includes/"${LIVE_BINARY_IMAGE}"/* &> /dev/null
37
37
then
38
 
        cp -r /usr/share/live-helper/includes/"${LIVE_BINARY_IMAGE}"/* "${LIVE_ROOT}"/binary
 
38
        cp -r /usr/share/live-helper/includes/"${LIVE_BINARY_IMAGE}"/* binary
39
39
fi
40
40
 
41
41
# Creating stage file
42
 
Create_stagefile "${LIVE_ROOT}"/.stage/binary_includes
 
42
Create_stagefile .stage/binary_includes