~inx-devel/inx/buildinx

« back to all changes in this revision

Viewing changes to buildinx

  • Committer: Peter Garrett
  • Date: 2008-10-02 12:47:46 UTC
  • Revision ID: inx-one@optusnet.com.au-20081002124746-o8duzun84n9i7z0p
Fixes including /etc/issue creation, add ppa packages etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
                white
255
255
                echo -e "Hit any key to continue... \n"
256
256
                read -s -n 1
257
 
                        chroot ./chroot apt-get install ceni
258
 
                        
 
257
                        chroot ./chroot apt-get install ceni dvtm
 
258
                                        
259
259
                # Grab and install the lot.
260
260
 
261
261
                chroot ./chroot dpkg --set-selections < ../"$INX_EXTRAS"/selections
280
280
                else
281
281
                        chroot ./chroot apt-get clean
282
282
                fi
 
283
                
283
284
        else
284
285
                cd "$WORK_DIR"
285
286
        fi
288
289
script_install ()
289
290
        {
290
291
        if ! [ -f .scripts_installed ] ; then
291
 
                bold ; green ; echo -e "\nInstalling INX scripts in chroot/usr/local...\n" ; white ; sleep 4
292
 
                tar -C chroot/usr/ -xvzf ../"$INX_EXTRAS"/"$SUITE_SCRIPTS"
293
 
                touch .scripts_installed
 
292
            bold ; green ; echo -e "\nInstalling INX scripts in chroot/usr/local...\n" ; white ; sleep 4
 
293
            tar -C chroot/usr/ -xvzf ../"$INX_EXTRAS"/"$SUITE_SCRIPTS"
 
294
            touch .scripts_installed
 
295
        
 
296
            # Run mandb -c in the chroot to update local man pages like "man inx" etc...
 
297
            echo -e "\nUpdating manual page database, please wait...\n"
 
298
            sleep 3
 
299
            chroot ./chroot mandb -c
294
300
        fi
295
301
        }
296
302
 
474
480
        # Any extra vmlinuz* in chroot/boot has already been nuked, hopefully...
475
481
        mv chroot/boot/initrd.gz  master/casper/initrd.gz
476
482
        cp chroot/boot/vmlinuz* master/casper/vmlinuz
 
483
        
 
484
        # Make /etc/issue clear the screen and print the name...
 
485
        clear > chroot/etc/issue
 
486
        echo "INX $NAME \n \l" >> chroot/etc/issue
 
487
        echo "INX $NAME" > chroot/etc/issue.net
477
488
 
478
489
        # Check for existing filesystem.squashfs: - remove it, or everything goes pear-shaped.
479
490
        if [ -f master/casper/filesystem.squashfs ] ; then