|
2012-06-23
, 03:45
|
|
Posts: 676 |
Thanked: 1,067 times |
Joined on Jul 2010
@ Kyiv, Ukraine
|
#292
|
The Following 6 Users Say Thank You to int_ua For This Useful Post: | ||
|
2012-06-24
, 10:30
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#293
|
Is ${EXT_CARD} a U-Boot variable? Should I add it to the script?
Do you know what's causing wrong partition type?
Device Boot Start End #cyls #blocks Id System /dev/sdc1 0+ 135 136- 514321 83 Linux /dev/sdc2 0 - 0 0 0 Empty /dev/sdc3 136 1022 887 3354634 83 Linux /dev/sdc4 0 - 0 0 0 Empty
Failed to download package bcm-bt-firmware-0.21rc3-1.2.Nemo.Adaptation.N900.noarch.rpm Failed to download package nokia-usb-networking-2.0-1.2.Nemo.Adaptation.N900.noarch.rpm Failed to download package pulseaudio-settings-n900-0.1.4-1.2.Nemo.Adaptation.N900.noarch.rpm Failed to download package udev-rules-nokia-n900-0.11-1.2.Nemo.Adaptation.N900.noarch.rpm
http://repo.pub.meego.com/CE:/Adaptation:/N900/Mer_Core-next_CE_Adaptation_N9xx-common_armv7hl/noarch/
|
2012-06-24
, 10:38
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#294
|
Is ${EXT_CARD} a U-Boot variable? Should I add it to the script?
Do you know what's causing wrong partition type?
The Following User Says Thank You to pali For This Useful Post: | ||
|
2012-06-24
, 10:39
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#295
|
pty errors must be fixed after dist-upgrade (bug link somewhere in the thread). Hint: there is a just-chroot.sh
The Following User Says Thank You to caveman For This Useful Post: | ||
|
2012-06-24
, 12:27
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#296
|
The Following 3 Users Say Thank You to caveman For This Useful Post: | ||
|
2012-06-25
, 14:13
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#298
|
@@ -114,6 +114,7 @@ iotop "optional" off \ localepurge "optional" off \ lxde "optional" off \ + xorg "optional" off \ iptables "optional" off \ apport "optional" off \ onboard "optional" off \
@@ -137,40 +138,6 @@ done fi -dialog --checklist "Select kernel boot parameters" 0 79 0 \ - "root=/dev/mmcblk0p${target_partition_suffix_root}" "" on \ - rootwait "" on \ - "console=tty0" "" on \ - "omapfb.vram=0:2M,1:2M,2:2M" "" on \ - "mtdoops.mtddev=2" "" on \ - nosplash "" on \ - "elevator=noop" "" on \ - fixrtc "" off \ - debug "" off \ - "panic=20" "Reboot after 20 seconds after panic" on \ - "init=/bin/sh" "Drop to sh on boot" off \ - "vga=785" "Try to set 640x480x16 video mode" off \ - noacpi "" off \ - "bootmem_debug" "" off \ - "debug_objects" "" off \ - "ddebug_query" "" off \ - "initcall_debug" "" off \ - 2>"${options_dir}/boot_parameters" -sed -i 's/\"//g' "${options_dir}/boot_parameters" - -if [[ $selected_kernel_version == "nemo" ]]; then - nemo_pkglist="" - for package_name in $(wget --quiet -O - http://repo.pub.meego.com/CE:/Adaptation:/N900/CE_Adaptation_N9xx-common_armv7hl/armv7hl/ | grep "href=\"[^\"]*\.rpm" -o | sed 's/href=\"//g'; wget --quiet -O - http://repo.pub.meego.com/CE:/Adaptation:/N900/CE_Adaptation_N9xx-common_armv7hl/noarch/ | grep "href=\"[^\"]*\.rpm" -o | sed 's/href=\"//g') - do - state="on" - if [[ $package_name =~ "debug" || $package_name =~ "devel" || $package_name =~ "u-boot" || ( $package_name =~ "udev" && $package_name =~ "noarch" && $package_name != *"n900"* ) ]] ; then - state="off" - fi - nemo_pkglist="$nemo_pkglist $package_name \"\" $state" - done - dialog --checklist 'Choose Nemo packages:' 0 79 0 $nemo_pkglist 2>"${options_dir}/nemo_packages" - sed -i 's/\"//g' "${options_dir}/nemo_packages" -fi
# Writing dialog --backtitle "Select the microSD device, partition or file" --inputbox "$(lshw -class disk -short)" 0 0 "/dev/sd" 2>"${options_dir}/selected_target" || exit 1 @@ -217,26 +184,32 @@ swap_size="500" fi - echo "n\np\n"${target_partition_suffix_root}"\n\n\n\n" > "${options_dir}/fdisk_command_stack.file" - echo "n\np\n"${target_partition_suffix_fat}"\n\n+"$fat_size"M\n" >> "${options_dir}/fdisk_command_stack.file" - + # use sfdisk to create partitions + echo -n "" > "${options_dir}/fdisk_command_stack.file" + partition_counter=1 + if [[ $fat_size > 0 ]]; then + echo "0,$fat_size,0c" >> "${options_dir}/fdisk_command_stack.file" + target_partition_suffix_fat=$partition_counter + partition_counter=$(( $partition_counter + 1 )) + fi if [[ $swap_size > 0 ]]; then - echo "n\np\n"${target_partition_suffix_swap}"\n\n+"$swap_size"M\n" >> "${options_dir}/fdisk_command_stack.file" + echo ",$swap_size,S" >> "${options_dir}/fdisk_command_stack.file" + target_partition_suffix_swap=$partition_counter + partition_counter=$(( $partition_counter + 1 )) fi - - fdisk_command_stack="$(cat "${options_dir}/fdisk_command_stack.file" | sort | tr '\n' ' ' | sed 's/ //g')""w\n" - echo -e "$fdisk_command_stack" > "${options_dir}/fdisk_command_stack.file" + echo ",,L" >> "${options_dir}/fdisk_command_stack.file" + cat "${options_dir}/fdisk_command_stack.file" | sfdisk -uM "$dev" + target_partition_suffix_root=$partition_counter sync - parted -s "$dev" mklabel "msdos" || exit 1 - fdisk "$dev" < "${options_dir}/fdisk_command_stack.file" || exit 1 - mkfs.ext3 "${dev}${target_partition_suffix_root}" || exit 1 if [[ $swap_size > 0 ]]; then mkswap "${dev}${target_partition_suffix_swap}" || exit 1 fi - mkfs.vfat "${dev}${target_partition_suffix_fat}" || exit 1 + if [[ $fat_size > 0 ]]; then + mkfs.vfat "${dev}${target_partition_suffix_fat}" || exit 1 + fi
@@ -261,7 +269,7 @@ ls "$service_dir"/kubuntu-mobile-n900-integration_*.deb >/dev/null 2>&1 || wget --quiet http://people.ubuntu.com/%7Eapachelogger/mobile/n900-integration/kubuntu-mobile-n900-integration_0.1_all.deb -O $service_dir/kubuntu-mobile-n900-integration_0.1_all.deb || exit 1 else for nemo_package in $(cat "${options_dir}/nemo_packages"); do - [[ -f "${service_dir}/${nemo_package}" ]] || wget --quiet -O "${service_dir}/${nemo_package}" "http://repo.pub.meego.com/CE:/Adaptation:/N900/CE_Adaptation_N9xx-common_armv7hl/armv7hl/${nemo_package}" || echo "Failed to download package ${nemo_package}" + [[ -f "${service_dir}/${nemo_package}" ]] || wget --quiet -O "${service_dir}/${nemo_package}" "http://repo.pub.meego.com/CE:/Adaptation:/N900/CE_Adaptation_N9xx-common_armv7hl/armv7hl/${nemo_package}" || wget --quiet -O "${service_dir}/${nemo_package}" "http://repo.pub.meego.com/CE:/Adaptation:/N900/Mer_Core-next_CE_Adaptation_N9xx-common_armv7hl/noarch/${nemo_package}" || echo "Failed to download package ${nemo_package}" cp "${service_dir}/${nemo_package}" "$mountpoint_target/tmp/" done fi
The Following 5 Users Say Thank You to caveman For This Useful Post: | ||
|
2012-06-26
, 12:14
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#299
|
apt-get install python-gi-cairo
echo "/dev/mmcblk1p3 swap swap defaults 0 0" >> /etc/fstab
for i in audio netdev adm plugdev video dialout voice pulse; do adduser <user> $i; done
Option "EmulateThirdButton" "1" Option "EmulateThirdButtonTimeout" "750" Option "EmulateThirdButtonThreshold" "30"
apt-get install pulseaudio alsa-utils
<applications> <!-- match all windows, and remove their decorations --> <application class="*"> <decor>no</decor> <maximized>yes</maximized> </application> </applications> <keybind key="C-BackSpace"> <action name="NextWindow"><dialog>list</dialog><raise>yes</raise><desktop>yes</desktop></action> </keybind> <keybind key="C-m"> <action name="ToggleFullscreen"/> </keybind>
apt-get install e17
apt-get install ubuntu-desktop unity-2d
ITEM_NAME="NEMO" ITEM_KERNEL="vmlinuz-2.6.37-10.7.Nemo.Adaptation.N900-adaptation-n900" ITEM_MODULES="ext4" ITEM_CMDLINE="root=/dev/mmcblk0p1 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop panic=20"
ITEM_NAME="Ubuntu 12.04 freemangordon kernel" ITEM_KERNEL="uImage-nemo-2.6.37" ITEM_MODULES="ext4" ITEM_CMDLINE="root=/dev/mmcblk0p2 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop panic=20" ITEM_REUSEATAGS="1"
ITEM_NAME="Maemo 5 with kernel-power 2.6.28.10-power51 (Internal Nand)" ITEM_KERNEL="2.6.28.10-power51" ITEM_REUSEATAGS="1"
apt-get -y install \ wicd-gtk wicd-curses \ lxde lubuntu-desktop lxmusic mplayer \ chromium-browser firefox \ pulseaudio alsa-utils \ python-gi-cairo onboard ttf-droid \ xscreensaver imagemagick \ e17 enna eterm \ cpufrequtils \ hal
The Following 12 Users Say Thank You to caveman For This Useful Post: | ||
|
2012-06-26
, 12:39
|
Posts: 58 |
Thanked: 197 times |
Joined on Apr 2012
|
#300
|
The Following 4 Users Say Thank You to unknown.obvious For This Useful Post: | ||
Do you know what's causing wrong partition type?