Author Topic: More Dodgy Goings On In Sharp Updater For Sl-3k  (Read 2291 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
More Dodgy Goings On In Sharp Updater For Sl-3k
« on: April 01, 2005, 04:32:29 pm »
Forgot to point this out too when I was looking at the updater.sh script the other day...

Code: [Select]
....
...

  # delete java if no java model
  if [ ! -f /root/.java ]; then
      rm -rf /hdd1/usr/QtPalmtop.rom/j2me
  fi
...
...

That's part of the updater.sh from the Sharp 1.11 ROM.

It looks like it would aim to remove J2ME (Personal Profile) from your Zaurus if you had it installed...,  however, it seems to be trying to remove it from hdd1... that's not where a user install would go. that would be hdd2..

Anyway, the sentiment is dodgy.. I mean you could work for Sun Microsystems.. actually for the team that develops J2ME so you could be legitimately licensed to run it on your Z (not very likely though).

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
More Dodgy Goings On In Sharp Updater For Sl-3k
« Reply #1 on: April 02, 2005, 08:12:55 pm »
As it's the install script it might be removing the directory so that people don't cantact Sharp and say "hey wheres my java? I have a directory for it!"

This way they don't have to change their rom building scripts or tree layout, just leave it to the installer to delete the java directory.

As hdd1 is the what is reinstalled during a flash, this shouldn't be a problem unless it runs this check and deletes even when just flashing a new kernel.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card