Changeset 778 for trunk/debirf/fs/usr/bin/make-debirf
- Timestamp:
- Dec 11, 2007 12:54:07 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/debirf/fs/usr/bin/make-debirf (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/debirf/fs/usr/bin/make-debirf
r775 r778 8 8 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 9 9 # 10 # They are Copyright 2007, and are all released under the GPL, version 211 # or later.10 # They are Copyright 2007, and are all released under the GPL, 11 # version 3 or later. 12 12 13 13 ############################################################### … … 29 29 usage() { 30 30 cat <<EOF 31 Usage: $CMD [options] profile [kernel] 32 Create a debirf system. 'profile' is a path to a debirf profile 33 directory. If a kernel is specified, it will override the kernel 34 specified in the profile debirf.conf. 31 Usage: $CMD [options] profile [kernel.deb] 32 Create a debirf system. The 'profile' is a path to a debirf profile 33 directory. If no kernel is specified, make-debirf will use the 34 latest kernel for the specified suite. If a path to a kernel deb is 35 specified on the command line, that will be installed instead. 35 36 36 37 options: … … 320 321 if [ "$STAGE_ROOT" = 'true' ] ; then 321 322 322 # check specified kernel package exists323 # check if specified kernel package exists 323 324 if [ ! -f "$DEBIRF_KERNEL_PACKAGE" ] ; then 324 if apt-cache show "$DEBIRF_KERNEL_PACKAGE" > /dev/null ; then 325 echo "Using apt kernel package '$DEBIRF_KERNEL_PACKAGE'." 326 else 327 failure "Specified kernel package '$DEBIRF_KERNEL_PACKAGE' not found." 328 fi 329 else 330 echo "Using deb kernel package '$DEBIRF_KERNEL_PACKAGE'." 325 failure "Kernel package '$DEBIRF_KERNEL_PACKAGE' not found." 331 326 fi 332 327
Note: See TracChangeset
for help on using the changeset viewer.

