Changes between Version 6 and Version 7 of ventana/third_party_linux


Ignore:
Timestamp:
04/17/2019 09:29:19 PM (5 months ago)
Author:
Tim Harvey
Comment:

replace udisks with mount/umount

Legend:

Unmodified
Added
Removed
Modified
  • ventana/third_party_linux

    v6 v7  
    89893. Create image on block storage device. For example, using /dev/sdc:
    9090{{{#!bash
    91 DEVICE=/dev/sdc
     91DEVICE=/dev/sdc # adjust per your system!
     92MNT=/mnt # adjust per your system!
    9293# unmount all auto-mounted partitions for this device
    9394sudo umount ${DEVICE}?
     
    9697sudo mkfs.ext4 -O ^64bit -L UBUNTU ${DEVICE}1
    9798# mount partition
    98 sudo udisks --mount ${DEVICE}1
     99sudo mount ${DEVICE}1 $MNT
    99100# untar the root filesystem downloaded (modify --strip-components parameter to strip subdirs as necessary depending on archive)
    100 sudo tar --strip-components=1 --numeric-owner -xvzf linaro-raring-alip-20130826-474.tar.gz -C /media/UBUNTU/
     101sudo tar --strip-components=1 --numeric-owner -xvzf linaro-raring-alip-20130826-474.tar.gz -C $MNT/
    101102# untar the Ventana kernel, modules, device-tree from Gateworks kernel archive
    102 sudo tar --numeric-owner -C /media/UBUNTU/ -xvzf rootfs.tar.gz ./boot
    103 sudo tar --numeric-owner -C /media/UBUNTU/ -xvzf rootfs.tar.gz ./lib/modules/
     103sudo tar --numeric-owner -C $MNT/ -xvzf rootfs.tar.gz ./boot
     104sudo tar --numeric-owner -C $MNT/ -xvzf rootfs.tar.gz ./lib/modules/
    104105# unmount the disk
    105106sudo umount ${DEVICE}1